model-hub

Soft-delete an API key.

ApiKey inherits from BaseModel, so instance.delete() sets:

  • deleted=True
  • deleted_at=<timestamp> and excludes it from the default manager (objects) queries.
delete/model-hub/api-keys/{id}/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/model-hub/api-keys/{id}/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.