v1

latestOpenAPI 3.0.02026-07-249301.3 MB
Users

Cancel an invitation

Cancel a pending invitation sent to someone. <br>Instagram: You can also use this route to unfollow users you have previously followed.

delete/api/v1/users/invite/sent/{invitation_id}

Path parameters

invitation_idstring required

The id of the invitation to cancel. <br>Instagram: Use the 'provider_id' retrieved in user profile (not 'provider_messaging_id')

Query parameters

account_idstring required

The id of the account to perform the request from.

Response

OK. Invitation canceled.

object'InvitationCanceled' required