api_key
put/api_key

Request

Headers

X-Organization-UUIDstring nullable

The organization this request acts in. Optional when you belong to one organization; required when you belong to several. See GET /user/me/memberships.

Cookies

access_tokenstring nullable

Request body

api_keystring required
valid_daysinteger
namestring
scope'read' | 'read_write' | 'read_write_delete'
scoped_project_uuidstring nullable

Response

Successful Response

uuidstring required
namestring required
created_atstring date-time required
expires_atstring date-time required
is_expiredboolean required
is_revokedboolean required
scopestring required
can_manage_api_keysboolean required
budgetnumber nullable
credits_usednumber
scoped_project_uuidstring nullable
organization_uuidstring nullable
created_by_key_uuidstring nullable
revoked_atstring date-time nullable
last_used_atstring date-time nullable

Changes

    • info

      added the new optional header request parameter X-Organization-UUID

    • info

      added the optional property to the response with the status