# Updates Policy Configuration

### UPDATES **POLICY CONFIGURATION**

## Updates policy configuration

<mark style="color:orange;">`PUT`</mark> `/policies/{policyId}`

Updates policy configuration for the specified policy ID. Only users with the Standard Registry role are allowed to make the request.

#### Path Parameters

| Name                                       | Type   | Description        |
| ------------------------------------------ | ------ | ------------------ |
| policyID<mark style="color:red;">\*</mark> | String | Selected policy ID |

#### Request Body

| Name                               | Type             | Description                               |
| ---------------------------------- | ---------------- | ----------------------------------------- |
| <mark style="color:red;">\*</mark> | application/json | Object that contains policy configuration |

{% tabs %}
{% tab title="200: OK Successful Operation" %}

```javascript
{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyConfig'
}
```

{% endtab %}

{% tab title="401: Unauthorized Unauthorized" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="403: Forbidden Forbidden" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error Internal Server Error" %}

```javascript
{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
}
```

{% endtab %}
{% endtabs %}
