{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-managed-grafana/refs/heads/main/json-structure/amazon-managed-grafana-update-instruction-structure.json",
"name": "UpdateInstruction",
"description": "Contains the instructions for one Grafana role permission update in a UpdatePermissions operation.",
"type": "object",
"properties": {
"action": {
"allOf": [
{
"$ref": "#/components/schemas/UpdateAction"
},
{
"description": "Specifies whether this update is to add or revoke role permissions."
}
]
},
"role": {
"allOf": [
{
"$ref": "#/components/schemas/Role"
},
{
"description": "The role to add or revoke for the user or the group specified in users."
}
]
},
"users": {
"allOf": [
{
"$ref": "#/components/schemas/UserList"
},
{
"description": "A structure that specifies the user or group to add or revoke the role for."
}
]
}
},
"required": [
"action",
"role",
"users"
]
}