Teams
List teams
Changed onThis endpoint allows you to list all the teams of your workspace.
The response contains the list of teams and a pagination cursor to retrieve the next page.
The teams are sorted by id.
If you are using a personal access token, you need to have an access level superior or equal to member.
get/v1/teams
Request
- Base URLhttps://api.gitguardian.com
- URLhttps://api.gitguardian.com/v1/teams
- AuthHTTP bearer
Query parameters
cursorstring
Pagination cursor.
per_pageinteger
Number of items to list per page.
is_globalboolean
Filter on/exclude the "All-incidents" team.
searchstring
Search teams based on their name and/or description.
linked_to_an_external_providerboolean
Filter on/exclude teams that are linked to an external provider.
Response
List teams
Example response
[
{
"id": 3252,
"name": "feature team A",
"description": "Description of my team",
"gitguardian_url": "https://dashboard.gitguardian.com/workspace/1/settings/user/teams/1",
"external_provider_id": "123-456-7890",
"external_provider_type": "okta"
}
]Changes
- info
added the optional property
/to the response with the status
- info