Update rule entities

Adds entities to and removes entities from a V2 Auth rule's include and exclude lists

To replace all of the rule's entities at once, provide entities to PATCH /v2/auth_rules/{auth_rule_token} instead.

Path Params
uuid
required
Body Params

Changes the rule's entities incrementally. add adds to the rule's include and exclude lists, and remove removes from them. Adding an entity that is already present, or removing one that is not, has no effect. A request with neither leaves entities unchanged.

The same entity cannot appear twice in one list, in both add.include and remove.include, or in both add.exclude and remove.exclude. To move an entity between include and exclude, remove it from one list and add it to the other in the same request.

add
object

Entities to add to the rule's include and exclude lists

remove
object

Entities to remove from the rule's include and exclude lists

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json