Skip to main content

UpdateRoleInput

Input for updating a custom role. The provided fields replace the role's definition. The role name is taken from the mutation's name argument and cannot be changed here.

input UpdateRoleInput {
title: String
description: String
patterns: [String!]
grantsAt: [String!]
}

Fields

UpdateRoleInput.title ● String scalar

Human-readable title (optional).

UpdateRoleInput.description ● String scalar

Optional description.

UpdateRoleInput.patterns ● [String!] list scalar

RE2 authorization patterns the role grants (a concrete scope is a literal pattern).

UpdateRoleInput.grantsAt ● [String!] list scalar

Tenancy levels at which the role grants access.

Member Of

updateRole mutation