Skip to content

Commit fdc3185

Browse files
author
Modern Treasury Bot
committed
OpenAPI Sync
1 parent d84b6a2 commit fdc3185

1 file changed

Lines changed: 0 additions & 72 deletions

File tree

openapi/mt_openapi_spec_v1.yaml

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -2872,43 +2872,6 @@ paths:
28722872
application/json:
28732873
schema:
28742874
"$ref": "#/components/schemas/legal_entity_update_request"
2875-
"/api/legal_entity_associations":
2876-
post:
2877-
summary: create legal_entity_association
2878-
deprecated: true
2879-
description: Use `POST /api/legal_entities` with inline `legal_entity_associations`
2880-
instead.
2881-
tags:
2882-
- LegalEntityAssociation
2883-
operationId: createLegalEntityAssociation
2884-
security:
2885-
- basic_auth: []
2886-
parameters:
2887-
- name: Idempotency-Key
2888-
in: header
2889-
required: false
2890-
description: This key should be something unique, preferably something like
2891-
an UUID.
2892-
schema:
2893-
type: string
2894-
responses:
2895-
'201':
2896-
description: successful
2897-
content:
2898-
application/json:
2899-
schema:
2900-
"$ref": "#/components/schemas/legal_entity_association"
2901-
'422':
2902-
description: unsuccessful
2903-
content:
2904-
application/json:
2905-
schema:
2906-
"$ref": "#/components/schemas/error_message"
2907-
requestBody:
2908-
content:
2909-
application/json:
2910-
schema:
2911-
"$ref": "#/components/schemas/legal_entity_association_create_request"
29122875
"/api/journal_entries":
29132876
get:
29142877
summary: list journal_entries
@@ -17320,41 +17283,6 @@ components:
1732017283
- title
1732117284
- ownership_percentage
1732217285
- child_legal_entity
17323-
legal_entity_association_create_request:
17324-
type: object
17325-
properties:
17326-
parent_legal_entity_id:
17327-
type: string
17328-
description: The ID of the parent legal entity. This must be a business
17329-
or joint legal entity.
17330-
relationship_types:
17331-
type: array
17332-
items:
17333-
type: string
17334-
enum:
17335-
- authorized_signer
17336-
- beneficial_owner
17337-
- control_person
17338-
description: A list of relationship types for how the child entity relates
17339-
to parent entity.
17340-
title:
17341-
type: string
17342-
nullable: true
17343-
description: The job title of the child entity at the parent entity.
17344-
ownership_percentage:
17345-
type: integer
17346-
nullable: true
17347-
description: The child entity's ownership percentage iff they are a beneficial
17348-
owner.
17349-
child_legal_entity:
17350-
"$ref": "#/components/schemas/child_legal_entity_create"
17351-
description: The child legal entity.
17352-
child_legal_entity_id:
17353-
type: string
17354-
description: The ID of the child legal entity.
17355-
required:
17356-
- relationship_types
17357-
- parent_legal_entity_id
1735817286
legal_entity_association_inline_create_request:
1735917287
type: object
1736017288
properties:

0 commit comments

Comments
 (0)