Update API key
Updates the name of a specific API key
Authorizations
First-party Gumnut app session (Clerk session JWT). Only the Gumnut web and mobile apps can obtain one — API keys and OAuth tokens cannot manage credentials, so these operations are not callable with the credentials this API otherwise accepts.
Path Parameters
ID of the API key to update
Body
New name for the API key
255Response
Successful Response
Represents an API key for authentication (without exposing the actual key).
Unique API key identifier with 'apikey_' prefix
When this API key was created
Whether this API key is currently valid and can be used
Optional descriptive name for this API key
When this API key was last used for authentication
Action verbs this key's grant allows; null for legacy keys
Actions a credential may perform.
read views resources; write creates or changes them; delete trashes
photos or libraries and destructively removes organizational records and
associations such as albums, people, faces, and memberships;
delete_permanently irreversibly deletes photos or libraries.
read, write, delete, delete_permanently 'all_libraries' or 'selected_libraries'; null for legacy keys
all_libraries, selected_libraries Number of libraries a 'selected_libraries' grant covers; null unless library_scope_mode is 'selected_libraries'