Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Admin id and email id to assign
Response
Successful operation
The status of the operation
curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/email/assign_admin \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"admin": "1",
"email_id": "1"
}'
{
"message": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Admin id and email id to assign
Successful operation
The status of the operation
curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/email/assign_admin \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"admin": "1",
"email_id": "1"
}'
{
"message": "<string>"
}