Git Configuration
Update Team Git Scope Keys
Writes each key sent; keys not sent are left as they are. mode=merge (default) replaces each key's whole list; mode=add adds the ids sent to it and removes none
patch/api/v1/git/config/teams/{team_id}/scope
Request
- Base URLhttps://public-api.linearb.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
team_idinteger required
The team id
Query parameters
mode'merge' | 'add'
merge replaces each key sent; add adds to it
Request body
Example request
{
"repository_ids": [
101,
102
],
"service_ids": [
201
]
}Response
Successful Response
Example response
{
"team_id": 123,
"team_name": "Payments",
"repositories": [
{
"id": 101,
"name": "api",
"url": "https://github.com/acme/api"
}
],
"services": [
{
"id": 201,
"name": "checkout"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.