{"code":"0007","title":"Entity Not Found", "description": "No entity was found matching the provided ID. Ensure the correct ID is being used for the entity you are attempting to manage."
}
Retrieve Ledger by id
GET/v1/organizations/{{id}}/ledgers/{{id}}
Use this endpoint to retrieve the information of a specific Ledger using the identifier (id).
{"code":"0007","title":"Entity Not Found", "description": "No entity was found matching the provided ID. Ensure the correct ID is being used for the entity you are attempting to manage."
}
Update a Ledger
PATCH/v1/organizations/{{id}}/ledgers/{{id}}
Use this endpoint to edit and update the information of a specific Ledger. When you update a Ledger, the following fields can be edited:
name
status
metadata
When updating the "metadata" object, all previous key-value pairs must be included in the update, or they will be removed. Check the Metadata section for more information.
{"code":"0006","title":"Unmodifiable Field Error", "description": "Your request contains a field that cannot be modified. Please review your request and try again, removing any fields that cannot be edited. Consult the documentation for guidance."
}
Delete a Ledger
DELETE/v1/organizations/{{id}}/ledgers/{{id}}
Use this endpoint to deactivate a Ledger that is in the homologation process (HML).
Only Lerian's internal team can deactivate Ledgers in production (PROD).
Headers
Name
Value
Authorization
Bearer <token>
Response codes
{"code":"0008","title":"Action Not Permitted", "description": "The action you are attempting is not allowed in the current environment. Please consult the documentation for guidance on how to proceed."
}
{"code":"0007","title":"Entity Not Found", "description": "No entity was found matching the provided ID. Ensure the correct ID is being used for the entity you are attempting to manage."
}