Roster

Delete Roster Entry

Delete a roster entry by player_id, team_id, and season.

Note: This only removes the roster entry. player_info and player_jersey mappings are preserved for historical stats integrity.

delete/api/v1/roster/{player_id}/{team_id}/{season}

Path parameters

player_idstring required
team_idstring required
seasonstring required

Query parameters

competition_idstring nullable

Headers

x-api-keystring required

Required API key issued by Preciser.

Required API key issued by Preciser.

Leaguestring required

Required tenant/database selector, for example pitchbio-master.

Required tenant/database selector, for example pitchbio-master.

Response

Successful Response

successboolean required

Whether the operation was successful

messagestring required

Status message

deleted_countinteger required

Number of records deleted

Changes

Changed in 2 of the 11 revisions of this API.43

  • 9b0abde08b0642See the full diff
    • the header request parameter League became required

      request-parameter-became-required

    • the header request parameter x-api-key became required

      request-parameter-became-required

    • header request parameter League list-of-types was narrowed by removing types null

      request-parameter-list-of-types-narrowed

    • header request parameter x-api-key list-of-types was narrowed by removing types null

      request-parameter-list-of-types-narrowed

    • for the header request parameter League, the type was generalized from no type to string

      request-parameter-type-generalized

    • for the header request parameter x-api-key, the type was generalized from no type to string

      request-parameter-type-generalized

    • added the new optional query request parameter competition_id

      new-optional-request-parameter