Skip to main content
PATCH
Update a policy

Authorizations

Authorization
string
header
required

An Igris API key. It acts with the current role and permission overrides of the member who created it.

Path Parameters

id
string<uuid>
required

Body

application/json

All fields are optional. Sending rules replaces the whole list.

name
string
Required string length: 1 - 200
description
string | null
Maximum string length: 500
rules
object[]
enabled
boolean
connectionSlugs
string[] | null
Minimum string length: 1
serverId
string
Minimum string length: 1

Response

The stored policy.

data
object

The stored policy row, as returned by POST and PATCH. It has createdByUserId and updatedByUserId instead of owner and lastEditedBy.