Rename an API key
PATCH
apiKeyheader
AuthorizationBearer <hmk_…>An API key from the dashboard or homemade api-key create.
keyId*stringapplication/json- body
name*stringLength
1 <= length <= 64Renamed.
application/json- response
id*stringname*string|nullcurl -X PATCH 'https://api.homemade.dev/api/api-keys/string' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "id": "string", "name": "string"}