Skip to main content
PUT
Update metadata (name and description) of an existing policy. This does not modify the policy versions or content - use the Create Policy Version endpoint to add new content. This endpoint supports both PUT (full update) and PATCH (partial update) methods.

Path Parameters

Query Parameters

Request Body

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Query Parameters

organization_id
string<uuid>

Organization ID. This is required for access control. It can be provided via query or request body depending on the endpoint.

Body

application/json

Serializer for updating policy metadata (name, description)

name
string
required
Required string length: 1 - 255
description
string

Response

Policy updated successfully.

Serializer for updating policy metadata (name, description)

id
string<uuid>
required
read-only
name
string
required
Maximum string length: 255
organization_id
string<uuid>
required
read-only
current_version_id
string<uuid> | null
required
read-only
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
description
string