Skip to content

insertGroup

WRITE

Insert group.

POST /api/v1/users/insertGroup
curl -X POST '<your-host>/api/v1/users/insertGroup' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string"
  }'
Response
{
  "companyId": "string",
  "createdAt": "string",
  "id": "string",
  "isCustomerOrgGroup": true,
  "isCustomerTypeGroup": true,
  "isEmployeeTypeGroup": true,
  "isIdentityGroup": true,
  "isSupplierOrgGroup": true,
  "isSupplierTypeGroup": true,
  "name": "string",
  "updatedAt": "string"
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ]
}