Access
Issue, rotate, and revoke API keys for the account, and grant or revoke each key’s access to individual workspaces.
Grant an API key access to a workspace
api_keys.access.add(id, **kwargs) -> APIKey { metadata, spec, info }
POST/v1/account/api_keys/{id}/workspaces
Revoke an API key's access to a workspace
api_keys.access.remove(workspace_id, **kwargs) -> void
DELETE/v1/account/api_keys/{id}/workspaces/{workspaceId}
List the workspaces an API key has access to
api_keys.access.list(id, **kwargs) -> CursorPagination<Workspace { metadata, spec, status } >
GET/v1/account/api_keys/{id}/workspaces