API Key

Enable an API Key

Enables a previously-disabled API key by clearing its disabled_at timestamp. Requires a readwrite API key. The request is idempotent — enabling an already-enabled key succeeds without modification. Fails with 422 if another active key on the account holds the same label.

post/v1/api_keys/{id}/enable

Request

  • Base URL: https://api.instrumentl.com
  • URL: https://api.instrumentl.com/v1/api_keys/{id}/enable
  • Auth: HTTP basic

Path parameters

idstring api_id required

Response

idempotent when already enabled

idstring api_id required
labelstring required
mode'is_readonly' | 'is_readwrite' required
disabled_atstring date-time nullable required
last_used_atstring date-time nullable required
created_atstring date-time required

Changes

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