Assets

Update a folder

Changed on

Updates the name and/or parent folder of an existing folder. At least one of name or parent_folder_id must be provided. Moving a folder into itself or one of its descendants is not allowed (cycle detection).

put/v1/assets/folders/{id}

Request

  • Base URL
    https://api.customer.io
  • URL
    https://api.customer.io/v1/assets/folders/{id}
  • Auth
    none declared

Path parameters

idinteger required

The unique identifier of the resource.

Request body

namestring

New display name for the folder. Cannot be blank after trimming.

parent_folder_idinteger nullable

The ID of the new parent folder. Set to null to move the folder to the root level. Cannot be the folder itself or one of its descendants.

Response

Folder updated successfully.

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from integer to string for status

    • breaking

      the // response's property type changed from integer to string for status

    • breaking

      the // response's property type changed from integer to string for status

    • breaking

      the // response's property type changed from integer to string for status