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
id integer requiredAPI key ID.
Body parameters
name string optionalNew display name for the key. Scopes are immutable; create a new key to change scopes.
Response
200 API key name updated.
Show response fields
id integerupdated booleanError codes
400 Invalid name or validation error.
404 API key not found.
409 Cannot update a revoked key.