Stop Experiment.

POST /api/teams/{team}/experiments/{experiment}/stop

Path parameters

  • team integer Required

    The ID of the team that the experiment belongs to.

  • experiment string Required

    The experiment key to stop.

Responses

POST /api/teams/{team}/experiments/{experiment}/stop
curl \
 -X POST https://checkmango.com/api/teams/10/experiments/MY_NEW_EXPERIMENT/stop \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": "EAQUE_REPREHENDERIT_NATUS",
    "type": "experiments",
    "attributes": {
      "id": 8,
      "team_id": 20,
      "key": "EAQUE_REPREHENDERIT_NATUS",
      "description": null,
      "status": "draft",
      "created": {
        "human": "1 second ago",
        "string": "2024-04-08 10:42:02"
      },
      "updated": {
        "human": "1 second ago",
        "string": "2024-04-08 10:42:02"
      },
      "started": {
        "human": null,
        "string": null
      },
      "stopped": {
        "human": null,
        "string": null
      }
    },
    "links": {
      "self": {
        "href": "http://checkmango.com/api/teams/20/experiments/EAQUE_REPREHENDERIT_NATUS"
      }
    }
  }
}
Response examples (403)
{
  "message": "Unauthenticated."
}
Response examples (404)
{
  "message": "Not Found"
}