Apply Permission Key

This endpoint allows you to apply a permission key to a user from your community.

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

Apply Permission Key

POST https://api.sonorancad.com/general/apply_permission_key

This endpoint allows you to apply a permission key to a user in your community.

Request Body

NameTypeDescription

id

string

Your community's ID

key

string

Your community's API Key

type

string

APPLY_PERMISSION_KEY

data

array

Array of user account permission key objects

Permission key {{ KEY }} applied!
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "APPLY_PERMISSION_KEY",
    "data": [
        {
            "apiId": "STEAM:1234", // API ID entered in the unit identifiers
                                   // Typically, this is their STEAM ID
            "permissionKey": "Key123" // Name of Permission Key
        },
    ]
}

Learn more about configuring permission keys.

Last updated