POST
/
groups
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
  ]
}'
"<any>"

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

200
application/json
Successful Response

The response is of type any.