Git Configuration
Replace Team Git Scope
Replaces the team's whole Git scope: each key sent becomes exactly that list, and a key not sent is cleared. At least one key is required; clearing the whole scope is a DELETE
put/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
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.