Delete Application Connection

Delete an application connection.

Syntax

Perform an HTTP DELETE request at the following URL:

http://host:port/[public/]odata/applications/{v1|latest}/{appid}/Connections(‘{appcid}’)

Parameters

  • appid – The application ID that uniquely identifies the application.
  • appcid – The application connection ID of the application instance interacting with the service.

Returns

If successful, returns a 200 OK status code.

If you never explicity registered the client, returns a 404 status code.

Examples

  • Delete application connection – HTTP request:
    DELETE /odata/applications/v1/com.sap.myapp/Connections('b6d50e93-bcaa-439d-9741-660a3cb56771') HTTP/1.1
    Cookie: X-SUP-APPCID=b6d50e93-bcaa-439d-9741-660a3cb56771; X-SUP-SESSID=97ts80gwhxkc 
    Host: supserver:8000
    Connection: Keep-Alive
    User-Agent: Apache-HttpClient/4.1.3 (java 1.5)
    Authorization: Basic REVWMDAwMTppbml0aWFs
    

    HTTP response:

    HTTP/1.1 200 OK
    Expires: Thu, 01 Jan 1970 00:00:00 GMT
    Set-Cookie: X-SUP-APPCID=b6d50e93-bcaa-439d-9741-660a3cb56771
    DataServiceVersion: 1.0
    Date: Mon, 13 Aug 2012 23:19:42 GMT
    Content-Length: 0