Create Tenant Operator (v2.2)
POST/v2.2/api/tenants/:tenant_id/operators
Create a tenant operator.
Request
Path Parameters
The tenant ID.
- application/json
Body
Operator details
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
addresses Address[]
The list of operator addresses. Max number of addresses = 20.
The name of the city. Max size = 100.
The name of the country. Max size = 100.
The postal code. Max size = 100.
The name of the state. Max size = 100.
The name of the street. Max size = 100.
The name of the street. Max size = 100.
custom_roles CustomRoleV2N1[]
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.
The descriptions of the custom roles.
List the disabled custom roles.
The reason for disabling the custom role.
disallow_permissions AuthPermission[]
The details of the disallowed permissions.
The value of the permissions. Max size = 500.
The ID.
List the inactive custom roles.
Reason the custom role is inactive.
The custom role is system owned.
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.
The region.
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))
ID of the tenant.
Lists if the tenant IdP log in option is disabled.
List the disabled tenants.
The reason for disabling the tenant.
The operator email ID.
The operator email IAM ID.
Validate the email ID.
Enable the sessin IP lock.
The first name of the operator. Max size = 100.
If the tenant is ESP.
The name of the ESP tenant. Max size = 512.
The ESP tenant ID.
The ID.
List the inactive tenants.
The reason for the tenant being inactive.
ipv4_list IPv4Address[]
The list of IPv4 addresses.
The IPv4 address of the tenant.
Locked. True or False.
The custom role is system owned.
The last log in time.
The last name of the ESP tenant.
linked_accounts LinkedAccount[]required
Details of any linked accounts. Maximum of 20 and at least 1 linked account(s) should be specified.
List the disabled linked accounts.
The reason for disabling the linked accounts.
The number of failed login attempts.
The ID.
List the inactive linked accounts.
The reason for the linked accounts being inactive.
The linked account provider key.
The linked account provider value.
The linked account provider value updated date.
The region.
Tenant Id
migration_state MigrationState
The migration state.
phone_numbers PhoneNumber[]
The details of the phone numbers. Maximum of twenty phones can be specified.
The country code.
The local extension.
The phone number.
types Type[]
The type of phone number.
Value
The region of the tenant.
roles AuthRole[]
The defined ESP 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))
secondary_emails Email[]
List of secondary email addresses. Max size = 20.
The email address.
The operator settings.
ID of the tenant.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
addresses Address[]
The list of operator addresses. Max number of addresses = 20.
The name of the city. Max size = 100.
The name of the country. Max size = 100.
The postal code. Max size = 100.
The name of the state. Max size = 100.
The name of the street. Max size = 100.
The name of the street. Max size = 100.
custom_roles CustomRoleV2N1[]
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.
The descriptions of the custom roles.
List the disabled custom roles.
The reason for disabling the custom role.
disallow_permissions AuthPermission[]
The details of the disallowed permissions.
The value of the permissions. Max size = 500.
The ID.
List the inactive custom roles.
Reason the custom role is inactive.
The custom role is system owned.
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.
The region.
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))
ID of the tenant.
Lists if the tenant IdP log in option is disabled.
List the disabled tenants.
The reason for disabling the tenant.
The operator email ID.
The operator email IAM ID.
Validate the email ID.
Enable the sessin IP lock.
The first name of the operator. Max size = 100.
If the tenant is ESP.
The name of the ESP tenant. Max size = 512.
The ESP tenant ID.
The ID.
List the inactive tenants.
The reason for the tenant being inactive.
ipv4_list IPv4Address[]
The list of IPv4 addresses.
The IPv4 address of the tenant.
Locked. True or False.
The custom role is system owned.
The last log in time.
The last name of the ESP tenant.
linked_accounts LinkedAccount[]required
Details of any linked accounts. Maximum of 20 and at least 1 linked account(s) should be specified.
List the disabled linked accounts.
The reason for disabling the linked accounts.
The number of failed login attempts.
The ID.
List the inactive linked accounts.
The reason for the linked accounts being inactive.
The linked account provider key.
The linked account provider value.
The linked account provider value updated date.
The region.
Tenant Id
migration_state MigrationState
The migration state.
phone_numbers PhoneNumber[]
The details of the phone numbers. Maximum of twenty phones can be specified.
The country code.
The local extension.
The phone number.
types Type[]
The type of phone number.
Value
The region of the tenant.
roles AuthRole[]
The defined ESP 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))
secondary_emails Email[]
List of secondary email addresses. Max size = 20.
The email address.
The operator settings.
ID of the tenant.
{
"addresses": [
{
"city": "string",
"country": "string",
"post_code": "string",
"state": "string",
"street": "string",
"street2": "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,
"disabled_reason": "string",
"disallow_permissions": [
{
"value": "string"
}
],
"id": "string",
"inactive": true,
"inactive_reason": "string",
"is_system_owned": true,
"name": "string",
"permissions": [
{
"value": "string"
}
],
"region": "string",
"roles": [
{
"name": "string"
}
],
"tenant_id": "string"
}
],
"disable_idp_login": true,
"disabled": true,
"disabled_reason": "string",
"email": "string",
"email_iam": "string",
"email_validated": true,
"enable_session_ip_lock": true,
"first_name": "string",
"from_esp": true,
"from_esp_name": "string",
"from_esp_tenant_id": "string",
"id": "string",
"inactive": true,
"inactive_reason": "string",
"ipv4_list": [
{
"ipv4": "string"
}
],
"is_locked": true,
"is_system_owned": true,
"last_login": "2024-07-29",
"last_name": "string",
"linked_accounts": [
{
"disabled": true,
"disabled_reason": "string",
"failed_login_attempts": 0,
"id": "string",
"inactive": true,
"inactive_reason": "string",
"provider_key": "string",
"provider_value": "string",
"provider_value_updated_on": 0,
"region": "string",
"tenant_id": "string"
}
],
"migration_state": {},
"phone_numbers": [
{
"country_code": 0,
"local_extension": 0,
"number": 0,
"types": [
{
"value": "string"
}
]
}
],
"region": "string",
"roles": [
{
"name": "string"
}
],
"secondary_emails": [
{
"email": "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": "BAD_REQUEST"
},
{
"code": "OPERATOR_INVALID_OPERATOR_EMAIL"
},
{
"code": "SESSION_SUBJECT_NOT_FOUND"
},
{
"code": "OPERATOR_INVALID_SIGNUP_ROLE"
},
{
"code": "OPERATOR_INVALID_SUBJECT_TENANT_ID"
},
{
"code": "OPERATOR_INVALID_OPERATOR_MULTIPLE_SYSTEM_ROLE"
},
{
"code": "OPERATOR_INVALID_OPERATOR_SYSTEM_ROLE"
},
{
"code": "OPERATOR_CAN_NOT_ASSIGN_SYSTEM_GENERATED_CUSTOM_ROLE"
},
{
"code": "OPERATOR_INVALID_CANNOT_SET_READONLY_FIELDS"
}
]
}
}