Register Switchable Role
- Print
- PDF
Register Switchable Role
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Register roles that sub accounts can switch to.
API
- POST /switchable-roles
Requests
Body
{
"roleNrn": "string",
"displayName": "string",
"description": "string"
}
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
roleNrn | Y | string | Role NRN | |
displayName | Y | string | Role display name | |
description | N | string | Description |
Response
Parameter name | Requirement status | Type | Description |
---|---|---|---|
ProcessResult | Y | ProcessResult | Processing result |
- Response examples - Success
{
"success": true,
"id": "{role-nrn}"
}
- Response examples - Failure
{
"success": false,
"id": "{role-nrn}",
"message":"Reason for failure"
}
Was this article helpful?