Skip to content

Limited
Move specification to a folder

Request

Moves the specification to another folder after creation. Placement AT creation rides in the create payload (folderId) — this endpoint exists only for reorganisation. The target folder must be in preparation (not yet shared) and of the same template family.

Security
oauth2(Required scopes: t1_api)
Path
specificationIdstring, (uuid)required

The unique identifier of the specification

Bodyapplication/jsonrequired
folderIdstring, (uuid)required
curl -i -X PUT \
  'https://apis.traceone.com/spec/v2/food/specifications/{specificationId}/folder' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "folderId": "5b6379a4-2a6c-4085-b184-45838a3b8e7e"
  }'

Responses

The specification was moved

Response
No content