PUT Administrators({id})/Validate
Validate the updated details for an administrator, before update. See Validation.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | The ID of the administrator you wish to update. |
Type: String |
Request body type
Request body formats
application/json, text/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"
}
]
}
Response Information
See Validation.
Response type
ValidationResultModel<UpdateAdministratorModel>
Response body formats
application/json, text/json
Sample:
{
"Input": {
"Category": "SingleRole",
"RoleId": "FCE10C6A-4518-4949-A88A-6081B57E0EA9",
"IsRoleScoped": true,
"RoleScopesIds": [
"5e531466-5c6d-41c8-97e1-d814d261f322"
],
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
]
},
"Errors": [
{
"MemberNames": [
"RoleScopeIds[0]"
],
"ErrorMessage": "Tenant not found",
"ErrorCode": "NotFound"
}
]
}