delete
Deletes an existing element from the collection.
Parameters
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.Unauthorized.
when the server responds with HttpStatusCode.Forbidden.
when the server responds with HttpStatusCode.NotFound or HttpStatusCode.Gone.
for other non-success status codes.
Deletes an existing element from the collection.
Parameters
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.Unauthorized.
when the server responds with HttpStatusCode.Forbidden.
when the server responds with HttpStatusCode.NotFound or HttpStatusCode.Gone.
for other non-success status codes.