POST Administrators/Validate
Validate an administrator before creation. See Validation.
Request Information
Request body type
Request body formats
application/json, text/json
Sample:
{ "Name": "DOMAIN\\joe", "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<CreateAdministratorModel>
Response body formats
application/json, text/json
Sample:
{ "Input": { "Name": "DOMAIN\\joe", "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" } ] }