Skip to main content
DELETE
Remove several athletes from the agent's client list

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
athlete_ids
integer[]

Athlete user ids. Required unless is_all_selected is set. All must be on the authenticated agent's roster.

Minimum array length: 1
Example:
is_all_selected
boolean

Select All. The server resolves the ids from the filtered roster, so the client does not have to page through it first. The boolean, the strings true and 1, and the number 1 are all accepted.

Example:

true

filter
object

Only read with is_all_selected, and then it defines what all means. Same shapes GET /agent/athletes documents.

excluded_athlete_id
integer[]

Only read with is_all_selected. Rows the agent unchecked after selecting all.

Example:

Response

Representations ended

message
string
Example:

"Clients removed."

data
object