Teams
Create a team
Changed onThis endpoint allows you to create a team.
If you are using a personal access token, you need to have an access level superior or equal to manager.
If a personal access token is being used, the member is automatically added to the created team with permissions can_manage and full_access
post/v1/teams
Request
- Base URLhttps://api.gitguardian.com
- URLhttps://api.gitguardian.com/v1/teams
- AuthHTTP bearer
Request body
Example request
{
"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"
}Response
Team created
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 new optional request property
/ - info
added the optional property
to the response with the status
- info