---
ai:
  exclude: true
search:
  tags:
    - Space
    - PUT
seo:
  description: >-
    Restore the given Space identified by spaceKey. This… Reference for the PUT
    /rest/api/space/{spaceKey}/restore endpoint in the Confluence Data Center
    API.
sidebar:
  label: Restore space
  badge: PUT
title: Restore space
type: openapi-operation
---
Restore the given Space identified by spaceKey. This method is idempotent i.e., if the Space is already restored then no action will be taken.

`PUT /rest/api/space/{spaceKey}/restore`

**Responses**

- `204` — No Content if the Space is restored successfully or already has status 'CURRENT'.
- `401` — Returned if the calling user is not authenticated.
- `403` — Returned if the calling user does not have permission to edit the Space.
- `404` — Returned if there is no space with the given key, or if the calling user does not have permission to view it.
