---
title: "Update a strategy type"
method: PUT
path: "/api/admin/strategies/{name}"
tags: ["Strategies"]
---

# Update a strategy type

`PUT /api/admin/strategies/{name}`

Updates the specified strategy type. Any properties not specified in the request body are left untouched.

## Path parameters

- `name` string, required

## Request body

- UpdateStrategySchema — The data required to update a strategy type.
  - `description` string — A description of the strategy type.
  - `parameters` object[], required — The parameter list lets you pass arguments to your custom activation strategy. These will be made available to your custom strategy implementation.
    - `name` string, required — The name of the parameter
    - `type` 'string' | 'percentage' | 'list' | 'number' | 'boolean', required — The [type of the parameter](https://docs.getunleash.io/concepts/activation-strategies#parameters)
    - `description` string — A description of this strategy parameter. Use this to indicate to the users what the parameter does.
    - `required` boolean — Whether this parameter must be configured when using the strategy. Defaults to `false`

## Response `200`

This response has no body.

## Other responses

- `401` — Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.
- `403` — The provided user credentials are valid, but the user does not have the necessary permissions to perform this operation
- `404` — The requested resource was not found.
- `415` — The operation does not support request payloads of the provided type. Please ensure that you're using one of the listed payload types and that you have specified the right content type in the "content-type" header.

---

[API](https://skmtc.net/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.net/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/revisions/b2c3116e633e/schema)
