Move design to folder

This endpoint is used to move a design to a specific folder.

Request

  • Method: POST

  • Endpoint: https://api.creatopy.com/v1/moveDesignToFolder

  • Body:

    • designHash (string, required): The hash of the design to be moved.

    • folderId (integer, required): The ID of the folder to which the design will be moved. If you want to move on to the root of the project folderIdshould be -1.

curl --location 'https://api.creatopy.local/v1/moveDesignToFolder' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhdXUpI2Yi5h4...' \
--data '{
  "designHash": "mz2k0q",
  "folderId": 716578
}'

Response

Upon successful execution, the response will have a status code of 200 and a JSON content type. The response body will contain the following structure:

JSON

{
    "response": true
}

Last updated