Transfer workspace ownership
Hands ownership to another member of the workspace, who is promoted to admin. You stay an admin and lose the owner-only permissions.
Requires workspace ownership.
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The userId of the member who becomes the owner. They must already be a member of the workspace.
1 <= lengthResponse Body
application/json
curl -X POST "https://api-next.centralcsp.com/v1/workspaces/string/transfer" \ -H "Content-Type: application/json" \ -d '{ "newOwnerId": "string" }'{ "id": "string", "name": "Acme", "ownerId": "string", "requiresMfa": true, "disableAiIntegrations": true, "plan": { "slug": "pro", "name": "Pro", "features": [ "compliance", "alerting", "api_keys" ] }, "role": "admin", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Delete a workspace DELETE
Deletes the workspace, its websites, members, and collected reports, and cancels its subscription. Report ingestion for its websites stops immediately.
Set AI tool access PUT
Cuts every AI tool off from this workspace, or lets them back in. While it is off, existing MCP keys are refused and no new one can be created.