curl --request POST \ --url https://api.yourapp.com/api/tools/tool_123/activate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "toolId": "tool_123", "activeState": true }'
{ "success": true, "message": "Tool activation updated successfully" }
Activates or deactivates a tool by toggling its enabled state
true
false