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

Authorizations

access-token
string
header
required

Body

application/json
username
string
required
password
string
required
first_name
string
required
last_name
string
required
phone
string
required
regno
string
roles
string[]
is_super
boolean
marketplace_uid
string

Response

201

Marketplace admin created successfully