Add Tag To Report

POST /1.3/reports/{id}/tags

Description

Creates a tag on an incident report. If the tag already exists, this will have no effect.

Parameters

Parameter Required Default Description
id X   TruSTAR report id or external tracking id.
idType   internal internal or external (the ID type of the report ID)
name X   The name of the tag to create.
enclaveId X   The id of the enclave to create the tag in. NOTE: This field is deprecated. Report tags are no longer enclave-specific. This field will be ignored if it is filled out.

Response (200)

The name of the tag that was created.

Example Usage

Request

curl -k -H "Authorization: Bearer {access_token}" -XPOST \
   "https://api.trustar.co/api/1.3/reports/9066ab40-2f3c-45ae-9566-7530403da691/tags?name=malware"

Response

malware