Menu
Get All Roles
Get all roles
GET
/spaces/{spaceId}/rolesUse it in a workflow
- Add a step and choose the Contentful connector.
- Pick the Get All Roles action (under Contentful Content Management API).
- Fill in the fields below, then reference the result from later steps as
{{getAllRoles.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getAllRoles.response.data.<field>}}.
{
"sys": {
"type": "string",
"total": 0,
"skip": 0,
"limit": 0
},
"items": [
{
"sys": {},
"name": "string",
"description": "string",
"permissions": {},
"policies": [
null
]
}
]
}
Need more? See the Contentful guide for connection setup and behaviour shared by every action.
Was this page helpful?