API Keys

Update API key

Updates an existing API key. Requires organization website configure permission.

post/apikeys/update

Request

  • Base URL
    https://api.databuddy.cc
  • URL
    https://api.databuddy.cc/apikeys/update
  • Auth
    API key in header x-api-key

Request body

idstring required
namestring
descriptionstring nullable
enabledboolean
scopesstring[]
resourcesobject nullable
tagsstring[] nullable
expiresAtstring date-time nullable

Response

OK

idstring required
namestring required
prefixstring required
startstring required
type'user' | 'sdk' | 'automation' required
enabledboolean required
scopesstring[] required
tagsstring[] required
expiresAtstring date-time nullable required
revokedAtstring date-time nullable required
lastUsedAtstring date-time nullable required
createdAtstring date-time required
updatedAtstring date-time required

Changes

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