Skip to content

Asset Undefine

Paritech.Authority.Control Association Undefine <Service> <FromType> <FromCode> <ToType> <ToCode>

Undefines (removes) an Association. Does not remove any associated Assets.

If the -Remove option is specified, context for the listed Applications will be removed instead, subject to the -DeleteOnEmpty option.

FieldDescription
ServiceThe Authority Service to connect to.
FromTypeThe type of the Asset the Association is from.
FromCodeThe unique code of the Asset the Association is from.
ToTypeThe type of the Asset the Association is to.
ToCodeThe unique code of the Asset the Association is to.
OptionDescription
-DeleteOnEmptyWhen using the -Remove option, causes the Association to be removed if no more context data exists.
-Remove <Code>Removes context for an Application. Can be specified multiple times.

The process result will be 0 on success, and a negative value on failure.

Terminal window
Paritech.Authority.Control Association Undefine XOSP User 1234 TradingAccount XS:0001

Utilises the /association API.