Users
Cancel an invitation
Changed onCancel 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
- Base URLhttps://api1.unipile.com:13111
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Changes
- warning
added the new
errors/password_reset_requiredenum value to theresponse property for the response status - warning
added the new
errors/target_audience_too_smallenum value to theresponse property for the response status
- warning