Skip to main content
POST
/
training
/
{id}
/
move
Move a training to a directory
curl --request POST \
  --url https://api.open.cx/training/{id}/move \
  --header 'Content-Type: application/json' \
  --data '
{
  "directory_id": "<string>"
}
'
{
  "statusCode": 123,
  "message": "<string>",
  "error": "<string>"
}

Path Parameters

id
string
required

The unique identifier of the custom training

Body

application/json
directory_id
string | null
required

The target directory ID, or null to uncategorize

Response

Default Response