Skip to content

/AWS1/CL_REK=>DELETEUSER()

About DeleteUser

Deletes the specified UserID within the collection. Faces that are associated with the UserID are disassociated from the UserID before deleting the specified UserID. If the specified Collection or UserID is already deleted or not found, a ResourceNotFoundException will be thrown. If the action is successful with a 200 response, an empty HTTP body is returned.

Method Signature

IMPORTING

Required arguments:

IV_COLLECTIONID TYPE /AWS1/REKCOLLECTIONID /AWS1/REKCOLLECTIONID

The ID of an existing collection from which the UserID needs to be deleted.

IV_USERID TYPE /AWS1/REKUSERID /AWS1/REKUSERID

ID for the UserID to be deleted.

Optional arguments:

IV_CLIENTREQUESTTOKEN TYPE /AWS1/REKCLIENTREQUESTTOKEN /AWS1/REKCLIENTREQUESTTOKEN

Idempotent token used to identify the request to DeleteUser. If you use the same token with multiple DeleteUser requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_REKDELETEUSERRESPONSE /AWS1/CL_REKDELETEUSERRESPONSE