Introduction
Blocks a Device Add-In on a specific database. Clears any auto-enrollment configuration (including auto-enrollment groups), unenrolls every currently enrolled device, then sets the Add-In status to Blocked in MyGeotab and MyAdmin. Only reseller users can call this method. This is the same operation exposed by the L1 Device Add-In Management UI's "Block" action; it is intended for programmatic blocking without visiting the MyAdmin UI. Use UnblockAddIn to reverse this operation and restore the Add-In to the Active state.
Idempotent: if the Add-In is already Blocked the call returns Success=true without re-issuing MyGeotab calls or unenrollment work.
Parameters

accountId

The account for access validation. Accepts either the integer account id (e.g. 90) or the string ERP/reseller account code (e.g. "STAF01"); the API auto-detects which form was supplied.

apiKey

The API key (User ID) of the authenticated reseller.

databaseName

The database name to block the Add-In on.

sessionId

The session ID of the authenticated reseller.

solutionId

The Solution ID of the Add-In to block.
Return value
ApiBlockAddInResponse echoing what the request targeted.
Code samples

Loading API Runner...