Delete Application Connection

Delete an application connection.

Syntax

Perform an HTTP DELETE request at the following URL:

http[s]://<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-SMP-APPCID=<XXXX>; X-SMP-SESSID=<XXXX> 
    Host: smpserver:8080
    Connection: Keep-Alive
    User-Agent: Apache-HttpClient/4.1.3 (java 1.5)
    Authorization: Basic <XXXX>
    

    HTTP response:

    HTTP/1.1 200 OK
    Expires: Thu, 01 Jan 1970 00:00:00 GMT
    Set-Cookie: X-SMP-APPCID=<XXXX>
    DataServiceVersion: 1.0
    Date: Mon, 13 Aug 2012 23:19:42 GMT
    Content-Length: 0