SYSTEM$REMOVE_REFERENCE
functionsupportedNative apps, listings & sharingRemoves an association from the reference to an object in the consumer account. This function supports both single and multi-valued references. For multi-valued references, an alias to the reference is required. This alias is used to remove a single association. To remove all associations of a multi-valued reference, use SYSTEM$REMOVE_ALL_REFERENCES.
Syntax
supportedpartialnot supportednot scored
SYSTEM$REMOVE_REFERENCE('<reference_name>'[, '<alias>'])
Parameters
| Name | Required | Description |
|---|---|---|
'reference_name' | required | The name of the reference as specified in the manifest.yml file of the app. |
'alias' | optional | The system-generated alias of the association. This argument is required for a multi-valued reference. To get the aliases of the associations for a reference, call SYSTEM$GET_ALL_REFERENCES. |
Returns
Returns a VARCHAR value that contains a message confirming that the association was removed.