Skip to main content
POST
/
client
/
admin
/
{client_id}
Add a new admin
curl --request POST \
  --url https://api.helpyousponsor.com/v1/client/admin/{client_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "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
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

Admin account created successfully

message
string