# Remove

Remove staging area.

# HTTP Request:

DELETE https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/remove-staging-area

# Curl Request example:

curl --request DELETE \
  --url "https://api.serveravatar.com/organizations/5/servers/15/applications/88/remove-staging-area" \
  --header 'content-type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'

# Response:

  • 200 (Ok)
{
  "message":"Staging site deleted successfully."
}

# Permission Error

  • 404 (Not Found)
{
    "message": "You cannot perform this action!"
}

# Permission Error

  • 404 (Not Found)
{
    "message": "You cannot perform this action, Please contact support!"
}

# Organization Not Found

  • 404 (Not Found)
{
    "message": "Organization not found!"
}

# Application Not Found

  • 404 (Not Found)
{
    "message": "Application not found!"
}

# Server Not Found

  • 404 (Not Found)
{
    "message": "Server not found!"
}

# Server Error

  • 500 (Internal Server Error)
{
    "message": "Something went really wrong!"
}
Last Updated: 3/1/2023, 1:57:58 PM