client.match_targets.post

A method of the Match Targets endpoint.

post(name: str, *, target_file_name: str = None, archived: bool = None) Response

Create a new match target

API URL: POST /match_targets

import civis
client = civis.APIClient()
response = client.match_targets.post(...)
Parameters:
namestr

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.