# Update Variant. **PUT /api/teams/{team}/experiments/{experiment}/variants/{variant}** ## Servers - https://checkmango.com: https://checkmango.com () ## Authentication methods - Default ## Parameters ### Path parameters - **team** (integer) The ID of the team that the variant belongs to. - **experiment** (string) The experiment key that the variants belong to. - **variant** (string) The variant key to show. ### Body: application/json (object) - **key** (string) The key to use for the variant. Must not be greater than 255 characters. - **control** (boolean) Whether the variant is the control. - **description** (string) The description of the variant. - **traffic** (string) The amount of traffic the variant should receive. This is only needed if the experiment is using Weighted Variants. ## Responses ### 200 #### Body: application/json (object) - **data** (object) ### 403 #### Body: application/json (object) - **message** (string) ### 404 #### Body: application/json (object) - **message** (string) ### 422 #### Body: application/json (object) - **message** (string) - **errors** (object) [Powered by Bump.sh](https://bump.sh)