Get the business account's account-Layer Rules
Returns the Composition account-Layer content for the business account — the Rules that apply to every wallet in the business account. BA owner/admin only. Returns 404 if the caller is not a qualifying owner/admin of the business account, or if the account-Layer has not been minted yet (it’s created by the first PATCH to this path, or the first time a signer is added to a wallet in this business account with Composition enabled — see the PATCH docs on this same path).
Read this before signing an updatePolicyLayer intent: the response
carries the layerDigest and rbacVersion the intent binds.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the environment
36^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"95b11417-f18f-457f-8804-68e361f9164f"
ID of the business account
36^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"95b11417-f18f-457f-8804-68e361f9164f"
Response
Account-Layer fetched successfully
The account-Layer, plus the two values a client binds in an updatePolicyLayer intent. Both are omitted together when the account has no signed RBAC document.
Unique identifier for the wallet-Layer
The decrypted, mutated wallet-Layer document
ISO 8601 timestamp of when the wallet-Layer was last updated
Message describing the operation result
True when legacy rules are translated for this response without saving them.
What the translation left out or could not translate.
Hex SHA-256 digest of the stored Layer. Bind it as currentLayerDigest.
^[0-9a-f]{64}$Version of the signed role-based access control document. Bind it as rbacVersion.