Update API key name
PATCH
https://app.speybooks.com/api/v1/api-keys/{id}Update the display name of an API key. Scopes are immutable — to change scopes, create a new key. Revoked keys cannot be updated.
Path parameters
idintegerrequiredAPI key ID.
Body parameters
namestringoptionalNew display name for the key. Scopes are immutable; create a new key to change scopes.
Response
200API key name updated.
Show response fields
idintegerupdatedbooleanError codes
400Invalid name or validation error.
404API key not found.
409Cannot update a revoked key.