curl --request POST \
--url https://api.helpyousponsor.com/v1/client/admin/{client_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "admin@gmail.com",
"custom_password": true,
"first_name": "John",
"last_name": "Doe",
"group": "1",
"client_id": "1"
}'
{
"message": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Admin account created successfully
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/client/admin/{client_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "admin@gmail.com",
"custom_password": true,
"first_name": "John",
"last_name": "Doe",
"group": "1",
"client_id": "1"
}'
{
"message": "<string>"
}