DELETE

  • task: Delete instance relation/LineRelation/55ba2482a6165413b9d19fb8

  • user: site administrator

  • hierarchy: 55b9dc81a6165413b9d16ab6

  • Field Display Policy: LineMenuFDPSite

  • Configuration Template: line-cft

$ curl -v
       -H 'Authorization: Basic YWRtaW5AbG9jdXMxLmNvbTpwYXNzd29yZA=='
       -X DELETE 'http://localhost/api/relation/LineRelation/55ba2482a6165413b9d19fb8/
                  ?hierarchy=55b9dc81a6165413b9d16ab6
                  &policy_name=LineMenuFDPSite
                  &template_name=line-cft
                  &nowait=true
                  &format=json'* About to connect() to localhost port 80 (#0)
+   Trying 127.0.0.1... connected
> DELETE /api/relation/LineRelation/55ba2482a6165413b9d19fb8/
         ?hierarchy=55b9dc81a6165413b9d16ab6
         &policy_name=LineMenuFDPSite
         &template_name=line-cft
         &nowait=true
         &format=json HTTP/1.1
> Authorization: Basic YWRtaW5AbG9jdXMxLmNvbTpwYXNzd29yZA==
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu)
              libcurl/7.22.0
              OpenSSL/1.0.1
              zlib/1.2.3.4
              libidn/1.23
              librtmp/2.3
> Host: localhost
> Accept: */*
>
< HTTP/1.1 202 ACCEPTED
< Server: nginx/1.1.19
< Date: Thu, 30 Jul 2015 13:21:00 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Accept, Cookie, Accept-Language, X-CSRFToken
< Content-Language: en-us
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
< X-CSRFToken: a6fFDYZyk9ET8K8xTq9HITFrRi8TROrV
< Set-Cookie: csrftoken=a6fFDYZyk9ET8K8xTq9HITFrRi8TROrV;
   SameSite=Lax;
   httponly;
   Path=/
< Set-Cookie: sessionid=9i0w39d1d32mdx6fs2skl564y8pmhmu9;
   SameSite=Lax;
   httponly;
   Path=/
<
+ Connection #0 to host localhost left intact
+ Closing connection #0
{"href": "/api/tool/Transaction/01de8720-d627-4e53-8e1b-e1ad66edb7bd/",
 "success": true,
 "transaction_id": "01de8720-d627-4e53-8e1b-e1ad66edb7bd"}