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}/subscriptionAuthorizationBearer <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"
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string"
}
}