API Keys
Update API key
Changed onUpdate an existing API key.
Supports renaming and replacing the workspace scope:
- Pass scopes with 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/api/v3/keys/{id}
Request
- Base URLhttps://api.lighton.ai
- URLhttps://api.lighton.ai/api/v3/keys/{id}
- AuthHTTP bearer
Path parameters
idstring required
Request body
Response
The updated API key.
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info