Skip to main content
POST
/
units
/
merge
Merge multiple units into one
curl --request POST \
  --url https://app.azalt.co/api/v1/units/merge \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "unitIds": [
    "<string>"
  ],
  "newName": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "organizationId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
unitIds
string[]
required
Minimum array length: 2
newName
string
required
Minimum string length: 1

Response

Successful response

id
string
required
name
string
required
organizationId
string | null
required