API Keys

Delete API keys by ID. Service keys from mailcow.conf cannot be deleted (api_key_service_locked).

post/api/v1/delete/api-key

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

itemsobject

contains list of API key IDs you want to delete

Response

OK

type'success' | 'danger' | 'error'

Changes