Skip to main content
doc0blade47/compdocumentation home
Sign in

Policies

Update a policy

Updates an existing policy by its ID for the authenticated organization.

Last updated Oct 11, 2026
PATCH/policies/:id

Parameters

Path

idstringrequired

ID of the policy to update.

Header

X-Organization-Idstring

Organization ID (required for session auth, optional for API key auth)

Request Body

The policy data to update.

object

Responses

200Policy updated successfully.application/json
object
400Bad request.application/json
object
401Unauthorized.application/json
object
404Policy not found.application/json
object

Try It

PATCH/policies/:id
Path Parameters
Headers
Request Bodyapplication/json
Was this page helpful?