Skip to main content
PATCH
/
api
/
v0
/
repositories
/
{repo_id}
/
teams
/
{team_id}
Update repository team.
curl --request PATCH \
  --url https://api.example.com/api/v0/repositories/{repo_id}/teams/{team_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "acceptInvite": true,
  "members": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}
'
{
  "msg": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cantina.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

repo_id
string<uuid>
required
team_id
string<uuid>
required

Body

application/json
acceptInvite
boolean | null

Whether to accept or reject the invite to join a repo team. Can only be updated by the auditor that has the invite.

members
object[]

The auditors that will be invited/removed from the team. Can only be updated by a team leader or an admin.

The user id of the auditor to invite to the team. Only a team leader can create an invite.

Response

Repository team successfully updated