younifyd
Menu

Delete Role

Delete a role

DELETE/spaces/{spaceId}/roles/{roleId}

Use it in a workflow

  1. Add a step and choose the Contentful connector.
  2. Pick the Delete Role action (under Contentful Content Management API).
  3. Fill in the fields below, then reference the result from later steps as {{deleteRole.response.data}}.

Request

Path parameters

spaceIdstringrequired

ID of the space

roleIdstringrequired

ID of the role

Headers

X-Contentful-Versioninteger (int64)required

The version of the locale to update.

Response

Returns 204 with a any. Read it in later steps with {{deleteRole.response.data.<field>}}.

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