Retrieves a list of sub-accounts associated with a specific legal entity, identified by its UUID.
LegalEntitySubAccount collection
Forbidden
{- "hydra:member": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "email": "string",
- "createdAt": "string"
}
], - "hydra:totalItems": 0,
- "hydra:view": {
- "@id": "string",
- "type": "string",
- "hydra:first": "string",
- "hydra:last": "string",
- "hydra:previous": "string",
- "hydra:next": "string"
}, - "hydra:search": {
- "@type": "string",
- "hydra:template": "string",
- "hydra:variableRepresentation": "string",
- "hydra:mapping": [
- {
- "@type": "string",
- "variable": "string",
- "property": "string",
- "required": true
}
]
}
}
Creates a new sub-account for a specific legal entity, identified by its UUID. The sub-account will be granted access only to document related to the legal entity.
The new LegalEntitySubAccount resource
LegalEntitySubAccount resource created
Invalid input
Forbidden
An error occurred
{- "email": "user@example.com",
- "password": "string"
}
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "email": "string",
- "createdAt": "string"
}
Deletes a sub-account associated with a specific legal entity, identified by the legal entity UUID and the sub-account email address. This operation will remove the sub-account and revoke its access to documents related to the legal entity.
LegalEntitySubAccount resource deleted
Forbidden
Not found
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "title": "string",
- "detail": "string",
- "status": 404,
- "instance": "string",
- "type": "string",
- "description": "string"
}