UpdateAdministratorModel
New details to update an existing administrator.
Properties
| Name | Description | Additional information |
|---|---|---|
| Category | If specified, category to change the administrator to. |
Type: AdministratorCategory |
| RoleId | If specified, ID of the role to change the administrator to. The valid values are:
|
Type: String |
| IsRoleScoped | If specified, change whether the administrator is restricted to performing operations within one or more scopes. If this is changed from false to true, you must also specify "RoleScopesIds". |
Type: Boolean |
| RoleScopesIds | If specified, update the list scopes in which the administrator will have permissions. Only used if "IsRoleScoped" is true. |
Type: Array of String |
| Tags |
Type: Array of String |
|
| CustomProperties |
Type: Array of CustomPropertyModel |
Sample
application/json
Sample:
{
"Category": "SingleRole",
"RoleId": "FCE10C6A-4518-4949-A88A-6081B57E0EA9",
"IsRoleScoped": true,
"RoleScopesIds": [
"5e531466-5c6d-41c8-97e1-d814d261f322"
],
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
]
}