LegalEntity
Resource 'LegalEntity' operations.
List your legal entities
Returns the flat list of your legal entities, sorted by most recent first
Create a legal entity from its SIREN
Validates the SIREN against the French directory, then creates a corresponding record on the platform.
Get one of your legal entities by uuid
Returns the legal entity matching `uuid`. Responds 404 if the uuid is unknown.
Delete a legal entity by uuid
Deletes the legal entity matching `uuid`. Removal is permanent and the legal entity will be delisted from the French directory.
Get the active onboarding URL for a legal entity
Returns the active (unexpired) onboarding URL for the legal entity identified by `uuid`.
Onboard a legal entity
Start the onboarding process for the legal entity identified by `uuid`.
Register a legal entity on the network
Registers the legal entity identified by `uuid` on the network without going through the onboarding procedure. The `0225:siren` address is registered on the first call and left untouched afterwards. `suffixes` declares the complete set of `0225:siren_suffix` addresses: entries not registered yet are added, and addresses missing from the body are removed. An omitted body therefore removes every suffix address.