# Delete a workspace assignment for a workspace

Launch stage: GA

`DELETE /api/2.0/identity/{name=workspace-assignments/*}`

Removes a principal's direct assignment to this workspace and revokes the entitlements it
 granted. The principal keeps any access it gets through groups.

 Entitlements are revoked one at a time. If the request fails partway through, the principal
 stays assigned with some of its entitlements. You can retry the request.

API scopes: identity

## Path parameters

- `name` (string, required)
  The resource name of the assignment, in the format `workspace-assignments/{principal_id}`.

## Response

```json
{}
```

