younifyd
Menu

Update Space Role

Update space role

PUT/v1/spaces/{space_id}/space_roles/{space_role_id}

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the Update Space Role action (under Space Roles).
  3. Fill in the fields below, then reference the result from later steps as {{updateSpaceRole.response.data}}.

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

space_role_idintegerrequired

Numeric ID of the space role.

Request body

Enter the body as JSON in the step's Body field.

space_roleobjectrequired
json
{
  "space_role": {}
}

Response

Returns 200 with an object. Read it in later steps with {{updateSpaceRole.response.data.<field>}}.

space_roleobject
json
{
  "space_role": {}
}

Need more? See the Storyblok guide for connection setup and behaviour shared by every action.

Was this page helpful?