Skip to main content
POST
Create Action Request
An API key needs the workspaces:write scope. The request is only decided in the dashboard — approving and rejecting are not available to API keys.
Any member can call this — the real check is that the caller does not already have the permission the action maps to; if they do, run the action directly instead.

Path

string
required
Workspace ID.

Body

string
required
One of app_delete, database_delete, snapshot_create, snapshot_restore.
string
required
The application or database this action targets. Must belong to this workspace.
object
Action-specific parameters, persisted as-is — these are exactly what runs if approved, nothing sent on approve is used. snapshot_restore requires { "snapshot_id": "<uuid>" } (a snapshot of this resource); the other actions take none ({} or omitted). Any other key returns WORKSPACE_ACTION_INVALID_PARAMS.

Response

Same shape as a List Action Requests row, status: "pending".

Errors