Users

Cancel an invitation

Changed on

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}

Request

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

Changes

    • warning

      added the new errors/password_reset_required enum value to the response property for the response status

    • warning

      added the new errors/target_audience_too_small enum value to the response property for the response status