Skip to main content
PUT
Update a program

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

wodup-gym
string

Only used by platform integrations
ID of gym to execute on behalf of

Body

application/json

Update program params

PUT body for updating a program

access
enum<string>

Whether all members can access the program, or only people on the access list

Available options:
all_members,
private
color
string

Hex code for color associated with this program

name
string

Program name

status
enum<string>

Program status

Available options:
active,
archived

Response

200 - application/json

Update program response

A program at your organization

id
integer
required

Program ID

name
string
required

Program name

status
enum<string>
required

Program status

Available options:
active,
archived
access
enum<string>

Program access

Available options:
all_members,
private
period
enum<string>

Program period

Available options:
continuous,
fixed,
template