client.match_targets.patch

A method of the Match Targets endpoint.

patch(id: int, *, name: str = None, target_file_name: str = None, archived: bool = None) Response

Update a match target

API URL: PATCH /match_targets/{id}

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

The ID of the match target

namestr, optional

The name of the match target

target_file_namestr, optional

The name of the target file

archivedbool, optional

Whether the match target has been archived.

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.