---
title: "Remove a space permission"
method: DELETE
path: "/wiki/rest/api/space/{spaceKey}/permission/{id}"
tags: ["Space permissions"]
---

# Remove a space permission

`DELETE /wiki/rest/api/space/{spaceKey}/permission/{id}`

Removes a space permission. Note that removing Read Space permission for a user or group will remove all
the space permissions for that user or group.

Note: Apps cannot access this REST resource - including when utilizing user impersonation.

**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
'Admin' permission for the space.

## Path parameters

- `spaceKey` string, required
- `id` integer, required

## Response `204`

Permission successfully removed.

## Other responses

- `400` — Used for various errors. Such as: - All of the admin permissions cannot be removed from a space.
- `401` — Returned if the authentication credentials are incorrect or missing from the request.
- `403` — Returned if the user isn't authorized.
- `404` — Returned if any of the following is true: - There is no permission with the given id. - There is no space with the given key. - The calling user does not have permission to view the space.

---

[API](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-confluence-cloud-rest-api/revisions/70088490f406/schema)
