curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/emails/status/{mail_status}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email_ids": [
"1,2,3"
],
"key": "4"
}'
{
"message": "<string>",
"status": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The mail status key
Data needed to update the status of multiple emails
The body is of type object
.
Successful operation
The response is of type object
.
curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/emails/status/{mail_status}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email_ids": [
"1,2,3"
],
"key": "4"
}'
{
"message": "<string>",
"status": "<string>"
}