Update training
documentedUpdate a training.
PUT /organizers/{organizerKey}/trainings/{trainingKey}Trainingsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.goto.com/G2T/rest/v1/organizers/{{$organizerKey}}/trainings/{{$trainingKey}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$title}}", "description": "{{$description}}", "timeZone": "{{$timeZone}}", "times": [ {"startDate": "{{$startDate}}", "endDate": "{{$endDate}}"} ], "registrationSettings": { "disableConfirmationEmail": {{$disableConfirmationEmail}}, "disableWebRegistration": {{$disableWebRegistration}} }, "organizers": ["{{$organizerKey}}"] }'"