Update an API key
When authenticated with an API key, this operation requires api-admin.
Authentication
AuthorizationBearer
Console user session or Mixlayer API key supplied as a Bearer token.
Path parameters
org_id
Organization ID
key_id
API key ID
Request
This endpoint expects an object.
active
Set to false to disable the key or true to enable it.
expires_at
Timestamp sets the expiration, null clears it, and omission leaves it
unchanged. A new timestamp must be in the future.
name
New key name. Whitespace is trimmed and the maximum length is 200
characters.
permissions
Replacement permission list, which must contain at least one permission.
Response
API key updated
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
413
Content Too Large Error
415
Unsupported Media Type Error
422
Unprocessable Entity Error
500
Internal Server Error