Go to main content

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

Exit Print View

Updated: December 2017
 
 

Delete Role

Deletes a role from the system. If the role is still assigned to one or more users, the query parameter "confirm" must be set to "true".

Example Request:

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

Example Result:

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