Deletes a local team
DELETE/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
id string
name string
tenants string[]
{
"team": {
"id": "test-id",
"name": "My Test Team",
"tenants": [
"tenant1",
"tenant2"
]
}
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...