curl -X POST "https://api.trusset.org/lending-stocks/api/hooks/{marketId}/{hookId}/toggle" \ -H "X-API-Key: trusset_your_key_here" \ -H "Content-Type: application/json" \ -d '{"active": false}'
{ "success": true, "data": { "id": "hook_002", "active": false } }
Enable or disable a hook
true
false