objectClass("User") {
delete {
endpoint(DELETE, "/users/{id}")
}
}
Delete script
How to implement a delete operation in a SCIMREST connector using a Groovy script with a DELETE endpoint and path parameter for the object identifier.
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