CASE FrameworkCASE Framework

Update study track-account flag

PUT
/v1/studies/{studyKey}/track-account

Updates whether account tracking is enabled for the given study.

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

studyKey*string

Unique key of the study

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

trackAccount?boolean

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/studies/string/track-account" \  -H "Content-Type: application/json" \  -d '{    "trackAccount": true  }'
{
  "message": "study track account updated"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}