AnalyticsMetricsMetricidActive
Turns a metric on or off for future analyses. Separate from the edit above on purpose: a switch in the list should not have to send the title, the norms and the weight to say "stop measuring this".
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using Bearer scheme
In: header
Path Parameters
metricId*string
Definition to switch.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://test.api.speaknode.com/api/Analytics/metrics/497f6eca-6276-4993-bfeb-53cbbbba6f08/active" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"error": "string",
"is_active": true
}