POST
/
issues
/
{issueId}
/
resolve
curl --request POST \
  --url https://api.withterminal.com/tsp/v1/issues/{issueId}/resolve \
  --header 'Authorization: Bearer <token>'
{
  "id": "isu_01D8ZQFGHVJ858NBF2Q7DV9MNC",
  "connection": "conn_01GV12VR4DJP70GD1ZBK0SDWFH",
  "status": "ongoing",
  "error": {
    "code": "missing_permissions",
    "message": "Failed to ingest HOS Logs, missing permissions to access Duty Status Logs"
  },
  "firstReportedAt": "2021-01-06T03:24:53.000Z",
  "lastReportedAt": "2021-01-06T03:24:53.000Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

issueId
string
required

Response

200
application/json
OK
id
string
required
Example:

"isu_01D8ZQFGHVJ858NBF2Q7DV9MNC"

connection
required

Entities in Terminal are expandable. Using the expand query parameter you can choose to ingest just an ID or the full entity details.

Example:

"conn_01GV12VR4DJP70GD1ZBK0SDWFH"

status
enum<string>
required
Available options:
ongoing,
resolved
error
object
required
firstReportedAt
string
required
Example:

"2021-01-06T03:24:53.000Z"

lastReportedAt
string
required
Example:

"2021-01-06T03:24:53.000Z"