Skip to main content
POST
Back Office: link an athlete directly to an agent

Authorizations

X-API-KEY
string
header
required

Server-to-Server API Key for internal/lambda/cron calls

Body

application/json
agent_id
integer
required
Example:

35112

athlete_id
integer
required
Example:

36550

source
enum<string>
required
Available options:
back_office
Example:

"back_office"

admin_id
integer
required

Back Office admin taken from the session, for the audit trail. Not an authorization.

Example:

1

Response

Linked, or already linked to this agent

status
string
Example:

"success"

data
object