client.match_targets.put_archive

A method of the Match Targets endpoint.

put_archive(id: int, status: bool) Response

Update the archive status of this object

API URL: PUT /match_targets/{id}/archive

import civis
client = civis.APIClient()
response = client.match_targets.put_archive(...)
Parameters:
idint

The ID of the object.

statusbool

The desired archived status of the object.

Returns:
civis.Response
  • idint

    The ID of the match target

  • namestr

    The name of the match target

  • target_file_namestr

    The name of the target file

  • created_at : str (time)

  • updated_at : str (time)

  • archivedbool

    Whether the match target has been archived.