Il est possible de modifier les propriétés du rôle.
Exemple de demande :
PUT /api/role/v1/roles/role_workflow/authorizations/auth-000 HTTP/1.1
Authorization: Basic Tm8gcGVla2luZyE=
Host: zfs-storage.example.com:215
Accept: application/json
Content-Type: application/json
Content-Length: 29
{"allow_modify": true}
Exemple de résultat :
HTTP/1.1 202 Accepted
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 171
{
"auth": {
"allow_modify": true,
"allow_read": true,
"href": "/api/role/v1/roles/role_workflow/authorizations/auth-000",
"owner": "*",
"scope": "workflow",
"uuid": "*"
}
}