Create sub-user

Create a sub-user in the marketplace

Create a sub-user

POST https://api.venly.market/users

Request Body

NameTypeDescription

type*

String

SUB_USER

nickname

String

A nickname for that user

{
  "success": true,
  "result": {
    "id": "string",
    "nickname": "string",
    "type": "SUB_USER"
  }
}

Example

Request body

{
  "type": "SUB_USER",
  "nickname": "johndoe"
}

Response

{
  "success": true,
  "result": {
    "id": "8cf5f1a8-b3bb-4a81-9f1c-c1746d8eb59f",
    "nickname": "johndoe via MarketplaceMasterUser",
    "type": "SUB_USER",
    "parentUserId": "dd4956c5-c292-4996-b7dc-2f4d1e58d6b0"
  }
}

Last updated