Skip to main content
POST
/
api
/
departments
/
transfer
/
scan-bulk
Deep scan dependencies for a bulk/department-deletion transfer
curl --request POST \
  --url https://your-instance.example.com/api/departments/transfer/scan-bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "assignments": [
    {
      "userId": "65b1f0a2c3d4e5f6a7b8c9d0",
      "targetDepartmentId": "65c1a0b0c0d0e0f0a0b0c0d1"
    },
    {
      "userId": "65b2f0a2c3d4e5f6a7b8c9d1",
      "targetDepartmentId": "65c1a0b0c0d0e0f0a0b0c0d2"
    }
  ]
}
'
{
  "scanVersion": "v2026-05-18T12:00:00Z-abc123",
  "summary": {
    "prompts": 4,
    "automations": 2,
    "conversations": 17,
    "approvalPolicies": 1
  },
  "conflicts": []
}

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
assignments
object[]
required

Set of { userId, targetDepartmentId } pairs to scan together (typically every member of a department being deleted).

Response

Bulk scan completed

The response is of type object.