cURL
curl --request PATCH \ --url https://api.traxes.io/connect/v1/entities/{entityId}/features \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "feature": "CaptureChargeSessions", "enabled": true } '
[ { "feature": "CaptureChargeSessions", "isEnabled": true } ]
Activates or deactivates a feature for an Entity. The platform offers some capabilities (ex: CDRs) that have to be explicitly enabled on an Entity to become available
Access Token Authentication
The id of the Entity
The feature to activate or deactivate for an Entity
CaptureChargeSessions
Set to true to activate the feature. Use false to deactivate it
true
false
OK
Will return true when the feature is activated, false otherwise
Was this page helpful?