curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/emails/assign_admin \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email_ids": [
"1,2,3"
],
"admin": {
"id": 542,
"email": "dev@helpyousponsor.com",
"permissions": {},
"activated": 1,
"activation_code": "<string>",
"activated_at": "2017-02-23 04:41:10",
"last_login": "2023-11-22 20:43:34",
"reset_password_code": "<string>",
"first_name": "Leslie",
"last_name": "Jobs",
"created_at": "2017-02-23T04:40:21.000000Z",
"updated_at": "2023-11-22T20:43:34.000000Z",
"client_id": "207",
"group_id": 301,
"email_verified_at": "<string>",
"__hevo__database_name": "apphys_new",
"__hevo__ingested_at": 1678920545435,
"__hevo__marked_deleted": 0,
"__hevo__source_modified_at": 1678920204000,
"onboarding_status": true,
"phone": "<string>"
}
}'
{
"message": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Admin id and email id to assign
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/assign_admin \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email_ids": [
"1,2,3"
],
"admin": {
"id": 542,
"email": "dev@helpyousponsor.com",
"permissions": {},
"activated": 1,
"activation_code": "<string>",
"activated_at": "2017-02-23 04:41:10",
"last_login": "2023-11-22 20:43:34",
"reset_password_code": "<string>",
"first_name": "Leslie",
"last_name": "Jobs",
"created_at": "2017-02-23T04:40:21.000000Z",
"updated_at": "2023-11-22T20:43:34.000000Z",
"client_id": "207",
"group_id": 301,
"email_verified_at": "<string>",
"__hevo__database_name": "apphys_new",
"__hevo__ingested_at": 1678920545435,
"__hevo__marked_deleted": 0,
"__hevo__source_modified_at": 1678920204000,
"onboarding_status": true,
"phone": "<string>"
}
}'
{
"message": "<string>"
}