Skip to main content
POST
/
marketplaces
/
create-admin
Create marketplace admin
curl --request POST \
  --url https://api.zochil.io/v3/monitoring/marketplaces/create-admin \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "password": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "marketplace_id": "<string>",
  "phone": "<string>",
  "regno": "<string>",
  "email": "[email protected]",
  "roles": [
    "<string>"
  ],
  "is_super": true
}
'

Body

application/json
username
string
required
password
string
required
first_name
string
required
last_name
string
required
marketplace_id
string
required
phone
string
regno
string
email
string<email>
roles
string[]
is_super
boolean

Response

201

Marketplace admin created successfully