Detach Unit

This endpoint allows you to detach a unit from any active dispatch call.

This API endpoint requires the plus version of Sonoran CAD or higher. For more information, see our pricing page.

Detach Unit

POST https://api.sonorancad.com/emergency/detach_unit

This endpoint allows you to attach new units to an existing dispatch call.

Request Body

NameTypeDescription

id

string

Your community's ID

key

string

Your community's API Key

type

string

DETACH_UNIT

data

array

Array of request objects

UNITS DETACHED
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "DETACH_UNIT",
    "data": [
        {
            "serverId": 1, // Default 1 - See guide on setting up multiple servers
            "units": ["STEAN:1234"] // Array of API IDs
                                // Typically, this is their STEAM Hex
        },
    ]
}

Last updated