PUT
request containing an updated description from a previous GET
request for the resource URI. Details on modifiable properties are found in the individual resource type documentation.
PUT
request requires a Content-Type: application/xml
header. This informs the API of the XML representation in the body content as part of the request.
PUT /api/collection/resource_id HTTP/1.1 Accept: application/xml Content-Type: application/xml <resource> <name>New-Resource-Name</name> </resource> HTTP/1.1 200 OK Content-Type: application/xml <resource id="resource_id" href="/api/collection/resource_id"> <name>New-Resource-Name</name> ... </resource>
409 Conflict
error with a fault
representation in the response body.