Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Restore space

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
Path parameters
spaceKeystringrequired

the key of the space to update.

Responses
204

No Content if the Space is restored successfully or already has status 'CURRENT'.

401

Returned if the calling user is not authenticated.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
403

Returned if the calling user does not have permission to edit the Space.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
404

Returned if there is no space with the given key, or if the calling user does not have permission to view it.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
Try it
Server
Parameters
Request
curl -X PUT 'http://example.com:7990/confluence/rest/api/space/string/restore' \
  -H 'Accept: application/json'
Response
No Content if the Space is restored successfully or already has status 'CURRENT'.

Was this page helpful?