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

Delete Space

Deletes a Space. The space is deleted in a long running task, so the space cannot be considered deleted when this resource returns. Clients can follow the status link in the response and poll it until the task completes.

DELETE/rest/api/space/{spaceKey}
Path parameters
spaceKeystringrequired

the key of the space to update.

Responses
202

Returns a pointer to the status of the space-deletion task.

idstring
linksobject
statusPathstring
resultPathstring
404

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

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
Try it
Server
Parameters
Request
curl -X DELETE 'http://example.com:7990/confluence/rest/api/space/string' \
  -H 'Accept: application/json'
Response
{
  "id": "string",
  "links": {
    "result": "http://localhost:8080/confluence/rest/api/longtask/123/result",
    "status": "http://localhost:8080/confluence/rest/api/longtask/123/status"
  },
  "statusPath": "status",
  "resultPath": "result"
}

Was this page helpful?