Update Program

Update a Program. Only the fields sent in the body are changed; is_active is not part of this request and is ignored if sent.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

Id of the Program to update

Body Params

The program fields to change; an empty body changes nothing

Request body of v1 Put_Program: the program fields to change. Fields left out keep their current value.

string

New name of the program, up to 50 characters. Not changed when omitted.

string

New description of the program, up to 200 characters. Not changed when omitted.

string

New hex color (#RRGGBB) used to display the program. Not changed when omitted.

string

true/false: whether the program is published to external channels. Not changed when omitted.

string

true/false: whether classes of this program count towards membership attendance limits. Not changed when omitted.

string

true/false: whether this program's workouts are hidden from clients without access to it. Not changed when omitted.

int64

Secure programming option. Required when secure programming ends up enabled, ignored otherwise. Not changed when omitted.

string

true/false: whether workouts are also hidden while the client's membership is on hold. Only stored when secure programming ends up enabled. Not changed when omitted.

Headers
string
required

A valid API key. If you don't have one, please request one through the Automations → Integrations page.

Response

Language
LoadingLoading…
Response
Choose an example:
application/json