Skip to main content

Overview

Allows the client to decline a presence subscription made to its account.

HTTP request

POST /Agent/Xmpp/SendSubscriptionDeclined

Authentication

Requires a valid JWT bearer token.

Request (JSON)

{
	"to":Required(Str(PTo)),
	"id":Optional(Str(PId))
}

Input parameters

ParameterDescription
PToA Bare or Full JID (XMPP network address).
PIdOptional Message ID.

Response (JSON)

{
	"sent":Required(Bool(PSent)),
	"id":Required(Str(PId))
}

Response parameters

ParameterDescription
PSentIf the XMPP stanza was sent or not.
PIdID of stanza sent. Can be used to match responses. If no ID was provided in the call, a message ID will be generated.

Notes

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