Creates a local team
POST/iam/teams
Creates a local team that is used to group local users as members of IAM policies.
Authorization Action:
iam:teams:create
Request
- application/json
Body
required
id stringrequired
name stringrequired
tenants string[]
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...