PUT
PUT is used to update a resource (under the supplied Request URI) in the service.
Request
Headers
X-Cloud-Lock: Optional. Specify the lock-id used to lock the resource.
Content-Type: The content type of the request entity. This should be one of the values listed as acceptable in the Resource specification.
Entity
The updated resource.
Success Response
|
HTTP Code |
Description |
|
204 (No Content) |
The request was accepted and processed. |
Headers
No special headers are returned.
Entity
No response entity is returned.
Error Response
|
HTTP Code |
Description |
|
404 (Not Found) |
The resource is not found. |
|
409 (Conflict) |
The resource could not be updated because of a locking violation, or the desired update is somehow disallowed due to the current state of the system. |
|
415 (Unsupported Media Type) |
The Content-Type is unsupported or the entity itself does not match the content type (e.g., malformed XML). |
Side Effects
The resource will be updated to reflect the entity provided in the PUT request.