IBM TRIRIGA Application Platform Version 3.5.0

Deleting OSLC resources

You use the HTTP DELETE method to delete an OSLC resource.

Write the HTTP DELETE on the URI of the resource. If the resource business object has a state transition from the current state of the resource to a null state, the state of the object changes to null.

If the resource business object does not have a state transition from the current state of the resource to a null state, the state of the object does not change. You can modify the business object to include a state transition from the current state to null. Or you can update the record with an HTTP PUT or HTTP PATCH instead of an HTTP DELETE and pass the action name to trigger the deletion.

If a resource has child records, the child records are deleted when the resource is deleted. If a resource has associated records, the association is deleted when the resource is deleted, but the associated records are not affected.



Feedback