You are here: Home > API Reference > Android > Enterprise > Delete enterprise

Delete enterprise

Required Permission: mdm.android.enterprise.remove

Permanently removes the EMM enterprise and disassociates it from the organization. If forceRemove is true, also cascades the deletion to all EMM resources tied to the enterprise (commands, devices, enrollment tokens, enrollment templates, policies and web apps) and removes the enterprise from Google services.

DELETE
https://api.applivery.io/v1/organizations/{organizationId}/mdm/android/enterprise

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

organizationId string
required
Unique identifier for organization managing Apple enterprise application deployments and configurations.
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$

forceRemove any
optional
Optional boolean flag. When true, cascades the deletion to all EMM resources tied to the enterprise (commands, devices, enrollment tokens, enrollment templates, policies and web apps) and also removes the enterprise from Google services. Defaults to false, which only disassociates the enterprise without deleting these child resources or contacting Google.

Responses

200 Response application/json
status boolean required
data object required
delete any required
{
    "status": true,
    "data": {
        "delete": "string"
    }
}
400 Response application/json
status boolean optional
false
error object optional
code number optional
5050
message string optional
Feature not allowed for you billing plan
{
    "status": false,
    "error": {
        "code": 5050,
        "message": "Feature not allowed for you billing plan"
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}
Was this page helpful?