Get Tenant Roles (v2.0)
GET/v2.0/api/tenants/:tenant_id/base_roles
List the tenant base roles.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
count int32
The actual count.
id string
The ID.
tenant_id string
The tenant ID.
items AuthRole[]
name stringrequired
The name of the custom role. (guest|system|element|support_iam_admin|support_admin|support_viewonly|support_mfg|support_super|support_root|devops|secops|tenant_iam_admin|tenant_network_admin|tenant_security_admin|tenant_viewonly|tenant_super|tenant_root|esp_iam_admin|esp_machine_admin|esp_admin|esp_user|esp_super|esp_root))
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"name": "string"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "ESP_INVALID_TENANT_ID"
}
]
}
}
Loading...