objectClass("User") {
delete {
endpoint(DELETE, "/users/{id}")
}
}
Delete Script
Basic Delete Script Example
The simplest delete script for User object class with common REST pattern, where DELETE HTTP operation is used could look like this:
Where:
-
this simplest script heavilly relies on default behavior of connector framework.
-
The
endpointmethod specifies the endpoint to be used for delete operation. In this case we use path parameter{id}which will be replaced with the value of theidattribute of the object being deleted.
Was this page helpful?
YES
NO
Thanks for your feedback