Prisma Next is in early access.Read the docs
Workspaces

Get workspace subscription

Returns subscription information for the workspace with the given ID.

Returns subscription information for the workspace with the given ID.

GET/v1/workspaces/{id}/subscription
AuthorizationBearer <token>

OAuth2 authentication

In: header

Scope: workspace:admin, offline_access

Path Parameters

id*string
Match^(wksp_)?([cC][^\s-]{8,}|[a-z0-9]+)$

Response Body

application/json

application/json

application/json

curl -X GET "https://api.prisma.io/v1/workspaces/string/subscription"
{
  "data": {
    "planName": "string",
    "usageBlocked": true,
    "upgradeUrl": "http://example.com"
  }
}