delete

Deletes an existing element from the collection.

Parameters

id

The ID identifying the element to delete.

Throws

when the entity has changed since it was last retrieved. Your delete call was rejected to prevent a lost update.

when the server responds with HttpStatusCode.BadRequest.

when the server responds with HttpStatusCode.Forbidden.

for other non-success status codes.


Deletes an existing element from the collection.

Parameters

entity

An existing entity to extract the ID from.

Throws

when the entity has changed since it was last retrieved. Your delete call was rejected to prevent a lost update.

when the server responds with HttpStatusCode.BadRequest.

when the server responds with HttpStatusCode.Forbidden.

for other non-success status codes.