Skip to main content
POST
/
groups
Create Group
curl --request POST \
  --url https://example.com/api/groups/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "DevOps Team",
  "description": "Group responsible for DevOps tasks",
  "repos": [
    1,
    2,
    3
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Example:

"DevOps Team"

description
string | null
Example:

"Group responsible for DevOps tasks"

repos
integer[]
Example:
[1, 2, 3]

Response

Successful Response