Saltar al contenido

orgLegalEntities

Módulo Settings · 5 operaciones

List org legal entity rows

GET/org-legal-entities

A legal entity of the organization with its fiscal settings. Returns a cursor page of org legal entity rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create an org legal entity

POST/org-legal-entities

A legal entity of the organization with its fiscal settings. Creates an org legal entity. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get an org legal entity

GET/org-legal-entities/{id}

A legal entity of the organization with its fiscal settings. Returns one org legal entity with its `ETag`. A org legal entity the caller may not see returns 404.

Update an org legal entity

PATCH/org-legal-entities/{id}

A legal entity of the organization with its fiscal settings. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.

Delete an org legal entity

DELETE/org-legal-entities/{id}

A legal entity of the organization with its fiscal settings. Soft-deletes the org legal entity: it moves to Trash and can be restored for its table's retention period.