Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

Get workspace subscription

GET/v1/workspaces/{id}/subscriptionGet workspace subscription

Returns subscription information for the workspace with the given ID.

Parameters

idstringpathrequired

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

Responses

200Workspace subscription retrieved.application/json
object
dataobjectrequired
Show child attributes
planNamestringrequired
upgradeUrlstring · urirequired
usageBlockedbooleanrequired
Example response
{
  "data": {
    "planName": "string",
    "upgradeUrl": "https://example.com",
    "usageBlocked": true
  }
}
401Missing or invalid authorization token.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
404Workspace with the specified ID was not found.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
Documentation menu