---
title: "Remove a PermissionPolicy from a user"
method: POST
path: "/organizations/{orgId}/permissionpolicies/{permissionPolicyId}/removefromuser"
tags: ["PermissionPolicy"]
---

# Remove a PermissionPolicy from a user

`POST /organizations/{orgId}/permissionpolicies/{permissionPolicyId}/removefromuser`

Remove a permission policy from a user.

## Path parameters

- `orgId` string, required
- `permissionPolicyId` string, required

## Request body

- PrincipalPermissionRequest
  - `version` integer — The version number of the entity: - **Create entity:** Not valid for initial insertion of new entity - *do not use for Create*. On initial Create, version is set at 1 and listed in the response. - **Update Entity:** On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
  - `principalId` string, required

## Response `200`

Returns the PrincipalPermission that was removed

- PrincipalPermissionResponse
  - `id` string, required — The UUID of the entity.
  - `version` integer — The version number: - **Create:** On initial Create to insert a new entity, the version is set at 1 in the response. - **Update:** On successful Update, the version is incremented by 1 in the response.
  - `permissionPolicyId` string
  - `principalId` string
  - `principalType` 'USER' | 'USERGROUP' | 'SERVICEUSER' | 'SUPPORTUSERS'
  - `dtCreated` string, date-time — The DateTime *(in ISO-8601 format)* when the principal permission was created.
  - `dtLastModified` string, date-time — The DateTime *(in ISO-8601 format)* when the principal permission was last modified.
  - `createdBy` string — The id of the user who created this principal permission.
  - `lastModifiedBy` string — The id of the user who last modified this principal permission.

## Other responses

- `4XX` — Error message
- `5XX` — Error message

---

[API](https://skmtc.net/m3ter-com/apis/m3ter-api.md) · [All operations](https://skmtc.net/m3ter-com/apis/m3ter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/m3ter-com/m3ter-api/revisions/ac93d1a9e6d9/schema)
