younifyd
Menu

Update Folder

Create Folder

PATCH/folders/{folderId}

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Update Folder action (under Folders).
  3. Fill in the fields below, then reference the result from later steps as {{updateFolder.response.data}}.

Request

Path parameters

folderIdstringrequired

Folder ID

Request body

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

idstring

ID

namestring

Folder name

_linksobject

Resource HAL links

selfany
folderany
content-repositoryany
content-itemsany
create-folderany
delete-folderany
update-folderany
json
{
  "id": "00112233445566778899aabb",
  "name": "New folder",
  "_links": {
    "self": null,
    "folder": null,
    "content-repository": null,
    "content-items": null,
    "create-folder": null,
    "delete-folder": null,
    "update-folder": null
  }
}

Response

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

idstring

ID

namestring

Folder name

_linksobject

Resource HAL links

selfany
folderany
content-repositoryany
content-itemsany
create-folderany
delete-folderany
update-folderany
json
{
  "id": "00112233445566778899aabb",
  "name": "New folder",
  "_links": {
    "self": null,
    "folder": null,
    "content-repository": null,
    "content-items": null,
    "create-folder": null,
    "delete-folder": null,
    "update-folder": null
  }
}

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