Remove newsletter admin
#
Method#
/newsletter/remove-admin/{newsletterId}POST
https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/newsletter/remove-admin/{newsletterId}
#
HeaderKey | Value |
---|---|
Client-Token | ACCOUNT SECURITY TOKEN |
#
ConceptThis method is responsible for removing a user from the administration of the newsletter.
#
Attributes#
MandatoryAttributes | Type | Description |
---|---|---|
phone | string | User's phone number to be removed from the newsletter administration |
#
Request Body#
Response#
201#
405In this case, make sure you are correctly sending the method specification, i.e., check if you sent the POST or GET as specified at the beginning of this topic.
#
415If you receive a 415 error, make sure to add the "Content-Type" of the object you are sending to the headers of the request, mostly "application/json"
#
Webhook ResponseLink to the webhook response (upon receipt)