Skip to content

Retrieve Multiple Space Roles

Terminal window
https://mapi.storyblok.com/v1/spaces/:space_id/space_roles

Returns an array of space role objects.

  • :space_id required number

    Numeric ID of a space

  • search string

    Filter by search term (name of the role).

  • by_ids string

    Filter by ids (comma separated).

  • space_roles The Space Role Object[]

    An array of space role objects.

curl "https://mapi.storyblok.com/v1/spaces/606/space_roles/" \
-H "Authorization: YOUR_OAUTH_TOKEN"