Relay Proxy configurations
Update a Relay Proxy config
Update a Relay Proxy configuration. Updating a configuration uses a JSON patch or JSON merge patch representation of the desired changes. To learn more, read Updates.
Authorization
ApiKey read, writeAuthorization<token>
In: header
Scope: read, write
Path Parameters
id*string
The relay auto config id
Format
stringRequest Body
application/json
patch*array<>
A JSON patch representation of the change to make
comment?string
Optional comment
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v2/account/relay-auto-configs/string" \ -H "Content-Type: application/json" \ -d '{ "patch": [ { "op": "replace", "path": "/policy/0", "value": { "actions": [ "*" ], "effect": "allow", "resources": [ "proj/*:env/qa" ] } } ] }'{ "_id": "12ab3c45de678910abc12345", "_creator": { "_links": { "self": { "href": "/api/v2/members/569f183514f4432160000007", "type": "application/json" } }, "_id": "569f183514f4432160000007", "firstName": "Ariel", "lastName": "Flores", "role": "admin", "email": "ariel@acme.com" }, "_access": { "denied": [ { "action": "string", "reason": { "resources": [ "proj/*:env/*;qa_*:/flag/*" ], "notResources": [ "string" ], "actions": [ "*" ], "notActions": [ "string" ], "effect": "allow", "role_name": "string" } } ], "allowed": [ { "action": "string", "reason": { "resources": [ "proj/*:env/*;qa_*:/flag/*" ], "notResources": [ "string" ], "actions": [ "*" ], "notActions": [ "string" ], "effect": "allow", "role_name": "string" } } ] }, "name": "Relay Proxy Demo Config", "policy": [ { "resources": [ "proj/*:env/*;qa_*:/flag/*" ], "notResources": [ "string" ], "actions": [ "*" ], "notActions": [ "string" ], "effect": "allow" } ], "fullKey": "string", "displayKey": "7f30", "creationDate": "1628001602644", "lastModified": "1628001602644"}