DELETE
/
messages
/
{id}
curl --request DELETE \
  --url https://api.stateset.com/v1/messages/{id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "<string>",
  "instance": "<string>",
  "status": 499,
  "title": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

The id of the message that needs to be deleted

Response

400 - application/problem+json
detail
string

A human-readable explanation specific to this occurrence of the problem.

instance
string

A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.

status
integer

The HTTP status code.

title
string

A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.

type
string

A URI reference [RFC3986] that identifies the problem type. It should provide human-readable documentation for the problem type. When this member is not present, its value is assumed to be "about:blank".