Cancel a role override
- Last UpdatedFeb 20, 2025
- 1 minute read
An administrator can cancel a role override at any time by using the OFF option. This allows the session's role to be automatically calculated by the failover engine.
cURL
To cancel an override using cURL:
-
Open a command line.
-
Run a POST command, defining the endpoint port, group ID and session ID:
curl -i -k -u <username>:<password> -X POST "https://<host>:<port>/api/v1/clientfailover/groups/<groupID>/clientsessions/<sessionID>/roleoverride" -H "Content-Type: application/json" --data-raw "{"Value": "Off"}"
For additional information on the curl parameters, such as -i or -k, refer to the Configuration tools section.
Postman
Note: All endpoints in Postman require basic authorization. For more information on basic authorization, refer to the Configuration tools section.
To cancel an override using Postman:
-
Select POST from the HTTP request drop-down.
-
Use the following Request URL for the session you want to cancel, defining the endpoint host, port, group ID and session ID:
https://<host>:<port>/api/v1/clientfailover/groups/<groupID>/clientsessions/<sessionID>/roleoverride
-
In the body of the request, enter the Value as OFF.
{
"Value": "Off"
}
-
Select Send to cancel the role override.