Remove the site from its parent site
x-ms-visibility: "important"
Send a request to remove a site from its parent site. Parent site must be different from the subsite.
Path Parameters
parentgroupid int32 required
This is the globally unique ID for the parent site
childgroupid int32 required
This is the globally unique ID for the subsite
Responses
- 200
- 400
- 401
- 404
The site has been removed successfully from its parent site
Errors in the route parameters or forbidden action
text/plain
Schema
Schema
string
Customer not found or not authorised
One of the sites not found for the customer
DELETE /group/:parentgroupid/subgroup/:childgroupid
Authorization
name: codetype: apiKeyin: query
Request
Request
curl / cURL
curl -L -X DELETE 'https://api.emabler.net/api/group/:parentgroupid/subgroup/:childgroupid' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
python / requests
curl -L -X DELETE 'https://api.emabler.net/api/group/:parentgroupid/subgroup/:childgroupid' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
go / native
curl -L -X DELETE 'https://api.emabler.net/api/group/:parentgroupid/subgroup/:childgroupid' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
nodejs / axios
curl -L -X DELETE 'https://api.emabler.net/api/group/:parentgroupid/subgroup/:childgroupid' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
ruby / Net::HTTP
curl -L -X DELETE 'https://api.emabler.net/api/group/:parentgroupid/subgroup/:childgroupid' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
csharp / RestSharp
curl -L -X DELETE 'https://api.emabler.net/api/group/:parentgroupid/subgroup/:childgroupid' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
php / cURL
curl -L -X DELETE 'https://api.emabler.net/api/group/:parentgroupid/subgroup/:childgroupid' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
java / OkHttp
curl -L -X DELETE 'https://api.emabler.net/api/group/:parentgroupid/subgroup/:childgroupid' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'
powershell / RestMethod
curl -L -X DELETE 'https://api.emabler.net/api/group/:parentgroupid/subgroup/:childgroupid' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain'