Skip to content

/AWS1/CL_ORG=>CANCELHANDSHAKE()

About CancelHandshake

Cancels a handshake. Canceling a handshake sets the handshake state to CANCELED.

This operation can be called only from the account that originated the handshake. The recipient of the handshake can't cancel it, but can use DeclineHandshake instead. After a handshake is canceled, the recipient can no longer respond to that handshake.

After you cancel a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that, it's deleted.

Method Signature

IMPORTING

Required arguments:

IV_HANDSHAKEID TYPE /AWS1/ORGHANDSHAKEID /AWS1/ORGHANDSHAKEID

The unique identifier (ID) of the handshake that you want to cancel. You can get the ID from the ListHandshakesForOrganization operation.

The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ORGCANCELHANDSHAKERSP /AWS1/CL_ORGCANCELHANDSHAKERSP