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 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "directory_id": "<string>"
}
'
{
  "statusCode": 123,
  "message": "<string>",
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
directory_id
string | null
required

Target directory ID, or null to uncategorize

Response

Default Response