curl --request PUT \
--url https://api.open.cx/training/directories/{directory_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"org_id": "<string>"
}Rename a training directory.
curl --request PUT \
--url https://api.open.cx/training/directories/{directory_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"org_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The new directory name
Was this page helpful?