Skip to content

/AWS1/CL_REK=>DISASSOCIATEFACES()

About DisassociateFaces

Removes the association between a Face supplied in an array of FaceIds and the User. If the User is not present already, then a ResourceNotFound exception is thrown. If successful, an array of faces that are disassociated from the User is returned. If a given face is already disassociated from the given UserID, it will be ignored and not be returned in the response. If a given face is already associated with a different User or not found in the collection it will be returned as part of UnsuccessfulDisassociations. You can remove 1 - 100 face IDs from a user at one time.

Method Signature

IMPORTING

Required arguments:

IV_COLLECTIONID TYPE /AWS1/REKCOLLECTIONID /AWS1/REKCOLLECTIONID

The ID of an existing collection containing the UserID.

IV_USERID TYPE /AWS1/REKUSERID /AWS1/REKUSERID

ID for the existing UserID.

IT_FACEIDS TYPE /AWS1/CL_REKUSERFACEIDLIST_W=>TT_USERFACEIDLIST TT_USERFACEIDLIST

An array of face IDs to disassociate from the UserID.

Optional arguments:

IV_CLIENTREQUESTTOKEN TYPE /AWS1/REKCLIENTREQUESTTOKEN /AWS1/REKCLIENTREQUESTTOKEN

Idempotent token used to identify the request to DisassociateFaces. If you use the same token with multiple DisassociateFaces 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_REKDISASSOCFACESRSP /AWS1/CL_REKDISASSOCFACESRSP