Skip to main contentIBM Quantum Documentation

Auth

Endpoints related to authentication


Clear a user's authorization cache

Clear the authorization cache for the specified user. This is useful if a user's role changes.

HTTP Response Status Codes

Status codeDescription
204Authorization cache for the user was deleted.
500Internal error

Code samples

POST
/logout
curl -X POST -H "x-access-token: <YOUR-TOKEN>" \
  https://runtime-us-east.quantum-computing.ibm.com/logout

Responses

Authorization cache for the user was deleted.
Was this page helpful?