---
ai:
  exclude: true
search:
  tags:
    - Space Permissions
    - PUT
seo:
  description: >-
    Revoke permissions from a… Reference for the PUT
    /rest/api/space/{spaceKey}/permissions/group/{groupName}/revoke endpoint in
    the Confluence Data Center API.
sidebar:
  label: Revoke space permissions from a group
  badge: PUT
title: Revoke space permissions from a group
type: openapi-operation
---
Revoke permissions from a group in the given space.
If group doesn't have permissions that we are trying to revoke, those permissions will be silently skipped.
Multiple permissions could be passed in one request. Supported targetType and operationKey pairs:
* space read
* space administer
* space export
* space restrict
* space delete_own
* space delete_mail
* page create
* page delete
* blogpost create
* blogpost delete
* comment create
* comment delete
* attachment create
* attachment delete

See &lt;a href="https://confluence.atlassian.com/display/DOC/Space+Permissions+Overview">Space Permissions documentation&lt;/a> for additional information about supported permissions.

Example request URI's:
`https://example.com/confluence/rest/api/space/TESTSPACE/permissions/group/test-group-name/revoke`

`PUT /rest/api/space/{spaceKey}/permissions/group/{groupName}/revoke`

**Request body** (`application/json`)

Request body example:

```json
[
  {
    "targetType": "page",
    "operationKey": "delete"
  },
  {
    "targetType": "page",
    "operationKey": "create"
  }
]
```

**Responses**

- `204` — Space permissions successfully removed for a group.
- `400` — Returned if incorrect permissions are passed in request (for e.g. non existing operation or global permission).
- `401` — Returned if the calling User is not authenticated.
- `403` — Returned if the calling User does not have necessary permission.
- `404` — Returned if group with specified key not found.
