Server APICohorts
Delete a cohort by ID
Authorization
personalAccessTokenAuth AuthorizationBearer <token>
Personal access token (prefixed gb_pat_). Acts on behalf of its owner and can never exceed the owner's own permissions. Send it as Authorization: Bearer <token>.
In: header
Path Parameters
applicationId*number
Gamebeast project ID
cohortId*number
Response Body
application/json
curl -X DELETE "https://example.com/application/0/analytics/v1/cohorts/0"{ "id": 0, "applicationId": 0, "name": "string", "description": "string", "definition": [ [ { "operator": "and", "conditions": [ { "positive": true, "metric": { "type": "cohort", "name": "string", "definition": null, "unresolved": true, "filter": { "operation": "and", "conditions": [ { "name": "string", "type": "property", "dataType": "string", "condition": { "string": { "operation": "Is", "value": [ "string" ] } }, "experiment": { "version": "v1", "level": "experiment", "experimentId": 0 }, "sentiment": { "topics": [ "string" ], "window": { "mode": "query_range" }, "map": "metadata" } } ] } } } ] } ] ], "createdBy": { "id": "string", "name": "string" }, "updatedBy": "string"}