Changes

stoney core: Resellers Resource - REST API

296 bytes removed, 08:44, 30 January 2014
/* Reseller deletion (DELETE) */
== Reseller deletion (DELETE) ==
To delete an existing reseller, the client needs to send a HTTP <code>DELETE</code> request , with an empty request body on the reseller's element resource URI (such as, <code>https://api.example.com/v1/resellers/4000001</code>). The service responds with a HTTP status code <code>200</code> (OK) on success and returns an empty body.
=== Reseller deletion request message ===
Accept: <Type>/<Subtype>
Accept-Charset: <Charset>
Content-Type: <Type>/<Subtype>; charset=<Charset>
</pre>
| <pre>
Accept: application/json
Accept-Charset: UTF-8
Content-Type: application/json; charset=UTF-8
</pre>
|-
| [[#Reseller_update_request_message_body|Request body]]| JSON objectEmpty body| <source lang="javascript"pre>{ ... }</sourcepre>
|}
 
==== Reseller deletion request message body ====
The JSON message body consists out of one or more fields from the [[#reseller_object|Reseller object]].
=== Reseller deletion response message ===
SLB
385
edits