andibase
Api referenceWorkspaces

Create workspace API key

Creates a workspace API key for the authenticated user and scopes it to the workspace via metadata. Effective access is the union of role permissions and explicit permissions. If neither is provided, role defaults to admin. This endpoint requires a signed-in session and does not accept API keys.

Open Markdown
POST/api/v1/experimental/workspaces/{workspaceHandle}/api-keys

Creates a workspace API key for the authenticated user and scopes it to the workspace via metadata. Effective access is the union of role permissions and explicit permissions. If neither is provided, role defaults to admin. This endpoint requires a signed-in session and does not accept API keys.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json