Go to main content

Oracle® ZFS Storage Appliance RESTful API Guide, Release OS8.8.0

Exit Print View

Updated: November 2018
 
 

Delete Role

Deletes a role from the system. If the role is still assigned to one or more users, add ?confirm=true to the DELETE command.

Example Request:

DELETE /api/role/v1/roles/rola?confirm=true HTTP/1.1
Authorization: Basic abcefgMWE=
Host: zfs-storage.example.com:215
Accept: */*

Example Result:

HTTP/1.1 204 No Content
X-Zfssa-Appliance-Api: 1.0