PUT/eventAccessGrants/{grantId}
Replaces an event access grant's grantee, roles, permissions and condition. grantId is any id
EventAccessGrants_GetEventAccessGrants returned for it; the response carries the grant's new id.
Path Parameters
| Field | Type | Required | Description |
|---|
| grantId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| granteeType | string | Optional | |
| granteeId | uuid | Optional | |
| accessRoleIds | uuid[] | Optional | |
| permissions | string[] | Optional | |
| condition | EventAccessCondition | Optional | |
EventAccessCondition
| Field | Type | Description |
|---|
| logic | string| null | |
| groups | EventAccessConditionGroup[]| null | |
| attributeIds | uuid[]| null | |
EventAccessConditionGroup
| Field | Type | Description |
|---|
| logic | string| null | |
| conditions | EventAccessConditionCondition[]| null | |
EventAccessConditionCondition
| Field | Type | Description |
|---|
| key | string| null | |
| operator | string| null | |
| value | string| null | |
Response
| Field | Type | Description |
|---|
| id | uuid | |
| granteeType | string| null | |
| granteeId | uuid | |
| granteeName | string| null | |
| accessRoles | GetEventAccessGrantResponseRoleInfo[]| null | |
| permissions | string[]| null | |
| condition | EventAccessCondition | |
| matchingEventCount | integer | |
GetEventAccessGrantResponseRoleInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |