Deletes a local team
DELETEhttps://apis.<domain>/iam/teams/:id
Deletes a local team and removes it from any policies.
Authorization Action:
iam:teams:delete
Request
Path Parameters
id stringrequired
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
team object
{
"team": {
"id": "test-id",
"name": "My Test Team",
"tenants": [
"tenant1",
"tenant2"
]
}
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE 'https://apis.<domain>/iam/teams/:id' \
-H 'Accept: application/json'