Create or Update MSP Operator Permissions (v2.0)
PUT/v2.0/api/tenants/:tenant_id/operators/:operator_id/clients/:client_id/permissions
Create or update esp operator permissions assigned under a client.
Request
Path Parameters
The tenant ID.
The operator ID.
The client ID.
- application/json
Body
Operator details
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
The MSP client ID.
custom_roles CustomRole[]
The list/details of the custom roles.
custom_permissions CustomPermission[]
The details of the custom role permissions.
Allowed After Ms
Allowed Before Ms
List the disabled custom permissions.
The reason for disabling the custom permission.
Disallow Permission
The ID.
List the inactive custom permissions.
The reason for the custom permission being inactive.
The region.
ID of the tenant.
The custom permission value.
List the disabled custom roles.
disallow_permissions AuthPermission[]
The details of the disallowed permissions.
The value of the permissions. Max size = 500.
The ID.
List the inactive custom roles.
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))
permissions AuthPermission[]
The permissions for the custom role.
The value of the permissions. Max size = 500.
roles AuthRole[]
The names of the roles.
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))
List the disabled client permissions.
The reason for disabling the client permissions.
The client email ID
Enable the sessin IP lock.
The ID.
List the inactive client permissions.
The reason for the client permission being inactive.
ipv4_list IPv4Address[]
The list of IPv4 addresses.
The IPv4 address of the tenant.
The MSP operator name. Max size = 100.
The operator ID.
The region of the MSP operator.
roles AuthRole[]
The user roles list. Max size = 7.
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))
The MSP operator settings. Maximum of 100 KB data size is allowed.
ID of the tenant.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
The MSP client ID.
custom_roles CustomRole[]
The list/details of the custom roles.
custom_permissions CustomPermission[]
The details of the custom role permissions.
Allowed After Ms
Allowed Before Ms
List the disabled custom permissions.
The reason for disabling the custom permission.
Disallow Permission
The ID.
List the inactive custom permissions.
The reason for the custom permission being inactive.
The region.
ID of the tenant.
The custom permission value.
List the disabled custom roles.
disallow_permissions AuthPermission[]
The details of the disallowed permissions.
The value of the permissions. Max size = 500.
The ID.
List the inactive custom roles.
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))
permissions AuthPermission[]
The permissions for the custom role.
The value of the permissions. Max size = 500.
roles AuthRole[]
The names of the roles.
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))
List the disabled client permissions.
The reason for disabling the client permissions.
The client email ID
Enable the sessin IP lock.
The ID.
List the inactive client permissions.
The reason for the client permission being inactive.
ipv4_list IPv4Address[]
The list of IPv4 addresses.
The IPv4 address of the tenant.
The MSP operator name. Max size = 100.
The operator ID.
The region of the MSP operator.
roles AuthRole[]
The user roles list. Max size = 7.
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))
The MSP operator settings. Maximum of 100 KB data size is allowed.
ID of the tenant.
{
"client_id": "string",
"custom_roles": [
{
"custom_permissions": [
{
"allowed_after_ms": 0,
"allowed_before_ms": 0,
"disabled": true,
"disabled_reason": "string",
"disallow_permission": true,
"id": "string",
"inactive": true,
"inactive_reason": "string",
"region": "string",
"tenant_id": "string",
"value": "string"
}
],
"disabled": true,
"disallow_permissions": [
{
"value": "string"
}
],
"id": "string",
"inactive": true,
"name": "string",
"permissions": [
{
"value": "string"
}
],
"roles": [
{
"name": "string"
}
]
}
],
"disabled": true,
"disabled_reason": "string",
"email": "string",
"enable_session_ip_lock": true,
"id": "string",
"inactive": true,
"inactive_reason": "string",
"ipv4_list": [
{
"ipv4": "string"
}
],
"name": "string",
"operator_id": "string",
"region": "string",
"roles": [
{
"name": "string"
}
],
"settings": "string",
"tenant_id": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "OPERATOR_INVALID_REQUEST"
}
]
}
}