POST
/
client
/
admin
/
{client_id}
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>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

client_id
integer
required

Body

application/json
email
string
Example:

"admin@gmail.com"

custom_password
boolean
Example:

true

first_name
string
Example:

"John"

last_name
string
Example:

"Doe"

group
integer
Example:

"1"

client_id
string
Example:

"1"

Response

200
application/json
Admin account created successfully
message
string