Delete a application by ID.

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Delete an application by its unique ID. Use the Get All Applications API to retrieve the application ID.

Request URL

https://{server-hostname}:8383/sse/api/applications/[0-9]+ Copied!

Scope

SSE.DELETECopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/jsonapplication/jsonCopied!

- Query Parameters

idlongOptional

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request DELETE \
  --url 'https://appdomain/sse/api/applications/[0-9]+?id=SOME_INTEGER_VALUE' \
  --header 'Accept: application/json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 400

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodestring

Application-specific error code (API_APPLICATION_002) indicating an unexpected error occurred while deleting the application

errorMsgstring

Generic error message for the application deletion failure

- HTTP code 401

Response Body - application/json
JSON Object
Hide Sub-Attributes
error_codestring

Unauthorized error code: API key or OAuth token missing, expired or invalid

error_descriptionstring

Authentication failure reason

- HTTP code 403

Response Body - application/json
JSON Object
Hide Sub-Attributes
error_codestring

Forbidden error code: the user lacks the required MDM_OSUpdateMgmt UEM role

error_descriptionstring

Message indicating insufficient privileges

- HTTP code 404

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodestring

Application-specific error code (API_APPLICATION_003) indicating the application to be deleted does not exist in the database

errorMsgstring

Message indicating the given Application was not found

Sample Response: HTTP 204

Copied!
204 No Content
▼ Show full

Sample Response: HTTP 400

An unexpected error occurred during application deletion

Copied!
  {
    "errorCode": "API_APPLICATION_002",
    "errorMsg": "Unknown error while adding application."
  }
                
▼ Show full

Sample Response: HTTP 401

Authentication credentials are missing or invalid

Copied!
  {
    "errorMessage": "You are not authorized to perform this action",
    "errorCode": "UNAUTHORIZED"
  }
                
▼ Show full

Sample Response: HTTP 403

User does not have the required SSE_Write role

Copied!
  {
    "errorMessage": "User does not have permission to perform this operation",
    "errorCode": "FORBIDDEN"
  }
                
▼ Show full

Sample Response: HTTP 404

Application with the specified ID does not exist

Copied!
  {
    "errorCode": "API_APPLICATION_003",
    "errorMsg": "Given Application is not found"
  }
                
▼ Show full