Skip to main content

Delete API Token

Revoke access by deleting API tokens using the delete_api_token() method. Pass the token value (the sk-mira-... string), not the token’s id.

Example

Error Handling

Usage Notes

  • Pass the token value (sk-mira-...), not the id — deleting by id returns 404
  • Deletion is permanent and cannot be undone
  • Plan for service disruption if deleting active tokens