cURL
curl --request POST \ --url https://{host}/Agent/Xmpp/SendSubscriptionDeclined \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "to": "<string>", "id": "<string>" } '
{ "sent": true, "id": "<string>" }
Allows the client to decline a presence subscription made to its account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success