Skip to main content
POST
Update Athlete in Organization

Attribute Modification

All attributes of the athlete can be updated. Include only the attributes you wish to change — omitted attributes are left unchanged. The following rules apply:
  • String Attributes:
    • String values can be updated to any non-empty string.
    • String values can be set to an empty string ("") or null to clear the attribute.
  • Integer Attributes:
    • Integer values can be updated to any valid integer.
    • Integer values can be set to 0 or null to clear the attribute.
  • Special Rules for first_name:
    • The first_name attribute, if included, cannot be empty. It must always contain a non-empty string.
  • Custom Attributes (custom_attributes):
    • Updates are merged with the athlete’s existing custom attributes:
      • Keys omitted from the request are left unchanged.
      • Keys set to a non-empty string are created or updated.
      • Keys set to null are deleted from the custom_attributes object.
    • Empty strings ("") and non-string values are not valid custom attribute values and return a 400 error.
    • New custom attributes must follow the same key rules as described in the createAthlete endpoint.

Example Request

In this example, last_name and weight are cleared, email is updated, the team and position custom attributes are created or updated, and the sport custom attribute is deleted.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

athleteId
string
required

The unique identifier for the athlete record to be retrieved.

Body

application/json
first_name
string

The first name of the athlete.

Note: This is the minimum required field.

last_name
string

The last name of the athlete.

date_of_birth
string

The date of birth of the athlete, formatted as YYYY-MM-DD

email
string

The athlete's email address.

phone
string

The athlete's phone number.

gender
enum<string>

The athlete's gender. Allowed values: male, female, non-binary, prefer_not_to_say.

Available options:
male,
female,
non-binary,
prefer_not_to_say
height
integer

The height of the athlete, in inches.

weight
integer

The weight of the athlete, in pounds (lbs).

dominant_arm
enum<string>

Dominant arm. Allowed values: left, right, both.

Available options:
left,
right,
both
dominant_leg
enum<string>

Dominant leg. Allowed values: left, right, both.

Available options:
left,
right,
both
activity
enum<string>

Primary sport or activity. Allowed values: baseball, softball, tennis, basketball, golf.

Available options:
baseball,
softball,
tennis,
basketball,
golf
positions
string[]

Positions for the athlete's activity. Requires activity to be set. baseball/softball: pitcher, catcher, first_base, second_base, third_base, shortstop, left_field, center_field, right_field, designated_hitter. basketball: point_guard, shooting_guard, small_forward, power_forward, center.

competition_level
enum<string>

Competition level. Allowed values: youth, high_school, college, professional.

Available options:
youth,
high_school,
college,
professional
custom_attributes
object

A set of custom key-value attributes, merged with the athlete's existing custom attributes. Keys must be strings, and values must be non-empty strings or null. Keys omitted from the request are left unchanged, keys set to a non-empty string are created or updated, and keys set to null are deleted.

Response

Athlete updated successfully.

athlete
object