v3

latestSwagger 2.0raw.githubusercontent.com2018-12-1013621.6 KB
PolicyAssignments

Deletes a policy assignment by ID.

When providing a scope for the assignment, use '/subscriptions/{subscription-id}/' for subscriptions, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for resource groups, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider-namespace}/{resource-type}/{resource-name}' for resources.

delete/{policyAssignmentId}

Path parameters

policyAssignmentIdstring required

The ID of the policy assignment to delete. Use the format '/{scope}/providers/Microsoft.Authorization/policyAssignments/{policy-assignment-name}'.

Query parameters

api-versionstring required

The API version to use for the operation.

Response

OK - Returns information about the policy assignment.

idstring

The ID of the policy assignment.

typestring

The type of the policy assignment.

namestring

The name of the policy assignment.