Ana içeriğe atla
POST
/
units
/
merge
Birimleri birleştir
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>"
}

Yetkilendirmeler

Authorization
string
header
gerekli

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

Gövde

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

Yanıt

Successful response

id
string
gerekli
name
string
gerekli
organizationId
string | null
gerekli