CentralCSP
APIWorkspaces

Get a workspace

Returns one workspace, including your role in it and its current plan.

Requires membership of the workspace.

GET
/v1/workspaces/{workspaceId}

Authorization

AuthorizationBearer <token>

An OpenID Connect access token issued by Keycloak, acting as the signed-in user.

In: header

Path Parameters

workspaceId*string

Response Body

application/json

curl -X GET "https://api-next.centralcsp.com/v1/workspaces/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"}