---
title: "Delete a space role"
method: DELETE
path: "/space-roles/{id}"
tags: ["Space Roles"]
---

# Delete a space role

`DELETE /space-roles/{id}`

Delete a space role

Available on tenants with [Role-Based Access Control](https://support.atlassian.com/confluence-cloud/docs/manage-user-roles/). 

**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
User must be an organization or site admin. Connect and Forge app users are not authorized to access this resource.

## Path parameters

- `id` string, required

## Response `202`

Returned if the deletion of the space role was accepted.

- DeleteSpaceRoleResponse
  - `taskId` string — Id of the task to update the space permissions associated with the space role

## Other responses

- `400` — Returned if an invalid request is provided.
- `401` — Returned if the authentication credentials are incorrect or missing from the request.
- `404` — Returned if the calling user does not have permission to delete space roles.

---

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