Workspaces

Restore a workspace

POST/v1/workspaces/{workspaceId}/restore

Restores a deleted workspace within its recovery window. Requires a human session that was an Admin at deletion. Returns the same workspace id. API keys cannot call this route.

Authentication

Send your Spark API key with every request. The value is the full bearer token Spark returned when you created the key. See Authentication.

Authorization: Bearer <SPARK_API_KEY>

Path parameters

workspaceId

string

The workspace id.

Was this page helpful?