younifyd
Menu

Update Space

Update a space

PUT/spaces/{spaceId}

Use it in a workflow

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

Request

Path parameters

spaceIdstringrequired

ID of the space

Headers

X-Contentful-Versioninteger (int64)required

The version of the locale to update.

Request body

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

namestringrequired

Updated name for the space

json
{
  "name": "string"
}

Response

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

defaultLocalestring

Default locale of the space

namestring

Name of the space

sysobject
json
{
  "name": "string",
  "sys": {},
  "defaultLocale": "string"
}

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

Was this page helpful?