Skip to main content
PUT
/
groups
/
{group_id}
/
remove_repos
Remove Repos From Group
curl --request PUT \
  --url https://example.com/api/groups/{group_id}/remove_repos \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repo_ids": [
    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.

Path Parameters

group_id
integer
required

Body

application/json
repo_ids
integer[]
required
Example:
[1, 2, 3]

Response

Successful Response