Skip to content

Asset Define

Paritech.Authority.Control Asset Define <Service> <Type> <Code>

Defines or redefines an Asset.

Any existing context data for this Asset will be merged with whatever is supplied, unless using the -Rename option.

FieldDescription
ServiceThe Authority Service to connect to.
TypeThe type of the Asset.
CodeThe unique code of the Asset.
OptionDescription
-App <Code>Specifies metadata for an Application. Affects the -Meta and -ID options. Can be specified multiple times.
-ID <Name>Specifies a new ID for the current App. Can be specified multiple times.
-Meta <Key> <Value>Supplies a metadata key/value for the current App. Can be specified multiple times.
-Rename <Type> <Code>Specifies a new type and code for an existing Asset.
-Val <Key> <Value>Supplies a key/value for the current ID. Can be specified multiple times.

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

Terminal window
Paritech.Authority.Control Asset Define XOSP User 1234

Utilises the /asset API.