roleCreate
Graphql fields and variables for the roleCreate mutation
Create a role
Scope required: security:write
For a complete list of input attributes see the RoleAttributes type
mutation roleCreate ($attributes: RoleAttributes!) {
roleCreate (attributes: $attributes) {
errors
role {
id
name
}
}
}
Arguments
{
"attributes": {
"name": "",
"scopes": [
""
]
}
}
Name
Type
Description
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?