Delete Variant.

DELETE /api/teams/{team}/experiments/{experiment}/variants/{variant}


Deleting a variant is permanent and cannot be undone.

Path parameters

  • team integer Required

    The ID of the team that the variant belongs to.

  • experiment string Required

    The experiment key that the variants belong to.

  • variant string Required

    The variant key to show.

Responses

  • 403 application/json
    Hide response attribute Show response attribute object
  • 404 application/json
    Hide response attribute Show response attribute object
DELETE /api/teams/{team}/experiments/{experiment}/variants/{variant}
curl \
 -X DELETE https://checkmango.com/api/teams/11/experiments/magni/variants/odit \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (403)
{
  "message": "Unauthenticated."
}
Response examples (404)
{
  "message": "Not Found"
}