Workspaces
Get list of workspaces
Returns the list of workspaces the current token can access.
GET
/v1/workspacesAuthorizationBearer <token>
OAuth2 authentication
In: header
Scope: workspace:admin, offline_access
Query Parameters
cursor?|
Cursor for pagination
limit?number
Limit for pagination
Default
100Response Body
application/json
application/json
curl -X GET "https://api.prisma.io/v1/workspaces"{
"data": [
{
"id": "string",
"type": "workspace",
"name": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"nextCursor": "string",
"hasMore": true
}
}{
"error": {
"code": "string",
"message": "string"
}
}