GET/spaces/api/v1/spaces/permissions.json
Get list of permissions for all spaces in the current installation
Request Examples
Example Request
GET
/spaces/api/v1/spaces/permissions.jsoncurl --request GET \ --url https://{site_name}.teamwork.com/account.json
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
- Code
- 404
- Type
- object
- Schema
- Description
- 404 Not Found
- Code
- 500
- Type
- object
- Schema
- Description
- 500 Internal Server Error
200 OK
UserSpacePermission
{
"permissions": [
{
"level": "string",
"space": {
"id": 0,
"meta": {},
"type": "string"
}
}
]
}