Skip to main content
POST
/
v2
/
tickets
/
{ticket_id}
/
relevant-assets
Add Ticket Relevant Asset
curl --request POST \
  --url https://public.api.serval.com/v2/tickets/{ticket_id}/relevant-assets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "assetId": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

ticket_id
string
required

The ID of the ticket to add the asset to.

Body

application/json
assetId
string

The ID of the asset (entity) to associate with the ticket.

Response

Success

The response is of type AddTicketRelevantAssetResponse · object.