ManagementBranches
Exempt a login role from a branch's guard
PUT
Adds role, by name, to the branch's guard exemptions (idempotent). The role need not exist: a role dropped and made again in SQL keeps its exemption, a renamed one loses it. Reconciles the branch's guard.
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Database id
Format
uuidbranch_id*string
Branch id
Format
uuidrole*string
The role's name
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/databases/497f6eca-6276-4993-bfeb-53cbbbba6f08/branches/497f6eca-6276-4993-bfeb-53cbbbba6f08/guard-exemptions/string"{ "exemptions": [ "string" ]}