Skip to main content
IBM Quantum Platform
This is the API reference for the Qiskit Runtime REST API on the new IBM Quantum Platform, which replaces the REST APIs for IBM Quantum Platform (Classic) Qiskit Runtime and IBM Cloud Qiskit Runtime. For more details, including how to migrate, visit the guide Migrate to the new Qiskit Runtime REST API.

Auth


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
/v1/logout
curl -X POST \
  /api/v1/logout \
  -H 'Authorization: Bearer YOUR-TOKEN' \
  -H 'Accept: application/json'

Responses

Authorization cache for the user was deleted.
Was this page helpful?
Report a bug or request content on GitHub.