---
title: "Remove Permission from Role"
slug: "remove-permission-from-role"
updated: 2025-01-24T15:21:00Z
published: 2025-01-24T15:21:00Z
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Permission from Role

Remove a [permission](https://docs.rocket.chat/v1/docs/permissions) from a [role](https://docs.rocket.chat/v1/docs/roles-in-rocketchat) in the workspace.

| Method | Requires Auth |
| --- | --- |
| `removeRoleFromPermission` | Yes |

## Payload parameters

| Argument | Example | Required | Description |
| --- | --- | --- | --- |
| `permission-id` | `archive-room` | Required | The id of the permission to remove |
| `role-id` | `679398c4f7ca7be1b5fcf5b7` | Required | The id of the role that the permission will be removed from |

## Example call

```json
{
  "msg": "method",
  "id": "22",
  "method": "authorization:removeRoleFromPermission",
  "params": [
    "archive-room",
    "679398c4f7ca7be1b5fcf5b7"
  ]
}
```

## Example response

### Success

```json
{
    "msg": "updated",
    "methods": [
        "22"
    ]
}
```
