Transfer Newsletter Ownership
#
Method#
/newsletter/transfer-ownership/{newsletterId}#
HeaderKey | Value |
---|---|
Client-Token | ACCOUNT SECURITY TOKEN |
#
ConceptThis method is responsible for transferring the ownership of a channel to another user, who is an administrator of that channel.
#
Attributes#
RequiredAttributes | Type | Description |
---|---|---|
phone | string | Phone number of the user who will be promoted to newsletter owner |
#
OptionalAttributes | Type | Description |
---|---|---|
quitAdmin | boolean | Defines whether you will cease to be an administrator of the channel after transferring ownership |
#
Request Body#
Response#
200Attributes | Type | Description |
---|---|---|
value | string | Returns true if successful, false if failed |
message | string | In case of error, may return a message with information about the error |
Example
#
405In this case, make sure you are correctly sending the method specification, meaning 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 in the request headers, mostly "application/json".
#
Webhook ResponseLink to the webhook response (upon receiving)