> ## Documentation Index
> Fetch the complete documentation index at: https://flipt-oci-manifest-version.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Variant

<RequestExample>
  ```bash cURL
  curl --request PUT \
    --url https://try.flipt.io/api/v1/namespaces/default/flags/{flagKey}/variants/{id} \
    --header 'Content-Type: application/json' \
    --header 'Accept: application/json' \
    --data '{
    "name": "<name>",
    "description": "<description>",
    "attachment": "<attachment>"
  }'
  ```
</RequestExample>
