Targets

Update target

Update target information and status

patch/api/v1/targets/{id}

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/targets/{id}
  • Auth: bearerAuth (a scheme the document does not define)

Path parameters

idstring uuid required

Resource UUID

Request body

externalIdstring
metadataobject
status'active' | 'blacklisted'

Response

Updated

successtrue required
messagestring

Example response

{
  "data": {
    "name": "John Doe",
    "phone": "+525512345678"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.