PUT
/
admin
/
emails
/
status
/
{mail_status}
/
update
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

mail_status
integer
required

The mail status key

Body

application/json

Data needed to update the status of multiple emails

The body is of type object.

Response

200
application/json

Successful operation

The response is of type object.