---
title: "DELETE /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}"
method: DELETE
path: "/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}"
---

# DELETE /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}

`DELETE /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}`

Deletes a role assignment.

## Path parameters

- `scope` string, required
- `roleAssignmentName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- RoleAssignment — Role Assignments
  - `id` string — The role assignment ID.
  - `name` string — The role assignment name.
  - `type` string — The role assignment type.
  - `properties` RoleAssignmentPropertiesWithScope — Role assignment properties with scope.
    - `scope` '/' | '/keys' — The role scope.
    - `roleDefinitionId` string — The role definition ID.
    - `principalId` string — The principal ID.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/keyvault-administration.md) · [All operations](https://skmtc.dev/azure/apis/keyvault-administration/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/keyvault-administration/revisions/207d840b9335/schema)
