DELETE
/
{version}
/
announcements
/
{announcement}
curl --request DELETE \
  --url https://api.perscom.io/{version}/announcements/{announcement} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": 123,
    "title": "<string>",
    "content": "<string>",
    "color": "<string>",
    "global": "false",
    "enabled": "true",
    "expires_at": "2023-11-07T05:31:56Z",
    "label": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

version
enum<string>
default:v2
required

The API version to use.

Available options:
v1,
v2
announcement
integer
required

Response

200
application/json
OK
data
object