Skip to content

upsertGroup

WRITE

Upsert group.

POST /api/v1/users/upsertGroup
curl -X POST '<your-host>/api/v1/users/upsertGroup' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "string",
    "name": "string"
  }'

Parameters

ParameterType

Input schema

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