Delete selected team
DELETE/teams/:teamName
The operation allows you to remove a specific team from the system permanently, together with every permission granted on the team and every permission the team holds. A team that owns service accounts is rejected with 409; delete them or change their owner first. When the permission service refuses to revoke the permissions, the request is rejected with 503 and the team is kept; repeat the request then. A team that does not exist is answered with 404.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
- 500
- 503
Team was deleted
The request was unacceptable, often due to missing a required parameter.
No valid API key provided.
The API key doesn't have permissions to perform the request.
The team does not exist.
The team owns service accounts.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on CodeNOW's end.
The permission service refused to revoke the team's permissions.