API Keys

Update an API key

Updates an API key's settings and returns the updated key. A field left out keeps its value.

patch/v1/api-keys/{id}

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/api-keys/{id}
  • Auth: API key in header x-api-key

Path parameters

idstring required

Request body

namestring nullable
descriptionstring nullable

Response

ApiKey

idstring required
namestring required
keystring nullable
startstring nullable required
endstring nullable required
descriptionstring nullable
createdAtstring required
expiresAtstring nullable required
lastUsedAtstring nullable required
isActiveboolean required

Changes

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