# Deep Security Manager REST API

## Path: / rest / administrator-roles / {roleID} / policies / {policyID}

Remove a policy from an administrator role.

Administrator roles can have access to all policies or can be restricted to a set of listed policies.

You can use the `IAdministratorRoleAPI.describeRole(String, Integer)` API to retrieve the existing set of policies assigned to the role.

Path parameters:
  roleID - the role ID.
  policyID - the policy ID.

Method Summary
Resource | Description
--- | ---
`DELETE /rest/administrator-roles/{roleID}/policies/{policyID}` | Remove a policy from an administrator role.

Method Detail
Remove a policy from an administrator role. Administrator roles can have access to all policies or can be restricted to a set of listed policies. You can use the {@link #describeRole(String, Integer)} API to retrieve the existing set of policies assigned to the role. Output: `ModifyAdministratorRoleResponse` - a {@link ModifyAdministratorRoleResponse} with the modified details of the administrator role. Cookie parameters: sID - a session ID returned by the Authentication API. Produces: application/json Consumes: application/json HTTP return codes: 200 - if the request is successful 403 - if the user is not authorized to modify administrator roles 404 - if the user is authorized to modify administrator roles but the administrator role does not exist or if the user is not authorized to modify the requested administrator role

Copyright © 2017 Trend Micro Inc. All Rights Reserved.