update-resource-permission
restish dci update-resource-permission resourceType resourceId
Updates the permissions associated with the specified Cloud Analytics resource. Supports Attributions, Attributions Groups, Alerts, Budgets, and Reports.
Request
Content-Type: application/json
Schema
{
"type": "object",
"properties": {
"permissions": {
"type": "array",
"items": {
"type": "object",
"description": "A single user's permission entry for a resource.",
"properties": {
"user": {
"type": "string",
"description": "The email address of the user to whom the role is assigned."
},
"role": {
"type": "string",
"description": "The role assigned to the user, defining their level of access to the resource.",
"enum": [
"owner",
"editor",
"viewer"
]
}
}
}
},
"public": {
"type": "string",
"description": "The type of permissions granted to all users in the organization for this resource.",
"enum": [
"editor",
"viewer"
],
"nullable": true
}
}
}