How do I remove the built-in transaction types and sides?

Providing you have suitable access control permissions, you can remove the built-in transaction types and/or sides provided with LUSID.

Note: Once removed, there is no way to recover these artifacts.

Using the LUSID REST API

  1. Obtain an API access token.

  2. Call the DeleteTransactionTypeSource API, passing in the API access token and specifying the default scope and default source in the URL, for example:

    curl -X DELETE 'https://<your-domain>.lusid.com/api/api/transactionconfiguration/types/default/$delete?scope=default'
     -H 'Authorization: Bearer <your-API-access-token>'
  3. Call the DeleteTransactionTypeSource API again, specifying the default scope again and this time the alt1 source.

  4. Call the SetSideDefinitions API, specifying the default scope and sending an empty API request, for example:

    curl -X PUT 'https://<your-domain>.lusid.com/api/api/transactionconfiguration/sides?scope=default'
     -H 'Content-Type: application/json-patch+json'
     -H 'Authorization: Bearer <your-API-access-token>'
     -d '[]'