Skip to main content
POST
/
Agent
/
Xmpp
/
SendPresenceUnsubscription
Send Presence Unsubscription
curl --request POST \
  --url https://{host}/Agent/Xmpp/SendPresenceUnsubscription \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "to": "<string>",
  "id": "<string>"
}
'
{
  "sent": true,
  "id": "<string>"
}

Overview

Allows the client to send a presence unsubscription from its account to an XMPP recipient.

Authentication

Requires a valid JWT bearer token.

Notes

This endpoint uses the request schema notation described in Pattern matching.

Authorizations

Authorization
string
header
required

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

Body

application/json
to
string
required
id
string

Response

200 - application/json

Success

sent
boolean
required
id
string
required