v1

latestOpenAPI 3.1.12026-07-14355311.4 MB
TargetList

Update TargetList

Update an existing 'TargetList' record.

patch/TargetList/{id}

Request body

idstring

An ID.

namestring

A one-line string.

categoryIdstring nullable

An ID of the record of the TargetListCategory type.

categoryNamestring nullable

A foreign record name.

entryCountinteger nullable
optedOutCountinteger nullable
descriptionstring nullable

A multi-line text.

sourceCampaignIdstring nullable
sourceCampaignNamestring nullable

A foreign record name.

createdAtstring nullable

A timestamp in UTC.

modifiedAtstring nullable

A timestamp in UTC.

createdByIdstring nullable

An ID of the record of the User type.

createdByNamestring nullable

A foreign record name.

modifiedByIdstring nullable

An ID of the record of the User type.

modifiedByNamestring nullable

A foreign record name.

assignedUserIdstring nullable

An ID of the record of the User type.

assignedUserNamestring nullable

A foreign record name.

teamsIdsstring[] nullable

IDs of records of the Team type.

teamsNamesobject nullable

An {ID => record name} map.

targetStatus'Listed' | 'Opted Out'
isOptedOutboolean

Example request

{
  "createdAt": "2026-11-29 12:34:56",
  "modifiedAt": "2026-11-29 12:34:56"
}

Response

Success.

idstring

An ID.

namestring

A one-line string.

categoryIdstring nullable

An ID of the record of the TargetListCategory type.

categoryNamestring nullable

A foreign record name.

entryCountinteger nullable
optedOutCountinteger nullable
descriptionstring nullable

A multi-line text.

sourceCampaignIdstring nullable
sourceCampaignNamestring nullable

A foreign record name.

createdAtstring nullable

A timestamp in UTC.

modifiedAtstring nullable

A timestamp in UTC.

createdByIdstring nullable

An ID of the record of the User type.

createdByNamestring nullable

A foreign record name.

modifiedByIdstring nullable

An ID of the record of the User type.

modifiedByNamestring nullable

A foreign record name.

assignedUserIdstring nullable

An ID of the record of the User type.

assignedUserNamestring nullable

A foreign record name.

teamsIdsstring[] nullable

IDs of records of the Team type.

teamsNamesobject nullable

An {ID => record name} map.

targetStatus'Listed' | 'Opted Out'
isOptedOutboolean

Example response

{
  "createdAt": "2026-11-29 12:34:56",
  "modifiedAt": "2026-11-29 12:34:56"
}