Update API key
API Keys
Update API key
Update an existing API key.
Supports renaming and replacing the workspace scope:
- Pass
scopeswith a non-empty list of{workspace_id, permission}entries to replace the full scope set. Existing scope rows not in the new list are dropped. - Pass
scopes: []to unscope the key entirely. - The permission ceiling on each scoped workspace is re-validated against your current role there.
PATCH
Update API key
Documentation Index
Fetch the complete documentation index at: https://developers.lighton.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.