Skip to content

The recovery mechanisms that apply to an account, and the digest reclaim_custody carries (F-012).

GET
/v1/accounts/{account}/recovery-mechanisms
curl --request GET \
--url https://example.com/v1/accounts/example/recovery-mechanisms \
--header 'Authorization: Bearer <token>'
account
required
string

A did:aledgent identifier.

The answer, from one consistent view (REQ-QR-2).

Media typeapplication/json

The recovery mechanisms that apply, and the digest a command that makes an account owned carries as its acknowledgement (REQ-AU-9, AC-A5.3).

object
digest
required

Their digest, 32 bytes of hex.

string
mechanisms
required

The mechanisms.

Array
One of:

The recovery authority, after its delay.

object
authority
required

How the audit trail names it.

string
delay
required

The delay, milliseconds.

integer format: uint64
mechanism
required
string
Allowed value: recovery_authority
Example
{
"mechanisms": [
{
"mechanism": "recovery_authority"
}
]
}

Refused, with the named condition. The status is the alternative’s x-http-status.

Media typeapplication/json
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}

Refused, with the named condition. The status is the alternative’s x-http-status.

Media typeapplication/json
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}
Retry-After
integer

On ERR-DecisionUnavailable (503): seconds to wait before retrying with the same client key (DEC-27 (g)).