Skip to main content
POST
/
training
/
cancel
Cancel Training
curl --request POST \
  --url https://api.example.com/training/cancel \
  --header 'Content-Type: application/json' \
  --data '
{
  "training_id": 123
}
'
{
  "message": "<string>",
  "status": "ok"
}

Body

application/json
training_id
integer
required

ID of the training to cancel.

Response

Successful Response

Default response. May contain other fields.

message
string | null
status
enum<string>
default:ok
Available options:
ok,
error