Update
Updates an API key’s name, scope, or both. Send at least one of name
and scope.
Requires an API key with workspace access, or an access token. The
caller can update a key only when that key’s current scope is within
the caller’s scope, and a new scope must also be within the caller’s
scope.
Authentication
AuthorizationBearer
Bearer authentication header of the form Bearer <PHONIC_API_KEY>. Manage your API keys here.
Path parameters
id
The ID of the API key to update.
Request
This endpoint expects an object.
name
The new name for the API key. Unique within the workspace.
scope
Replaces the key's scope. Must be within the caller's own scope. The caller can change a key only when that key's current scope is also within the caller's scope.
Response
Success response
success
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error