Skip to content

The account an alias names, for a principal that reaches it; ERR-UnknownAccount otherwise, and ERR-IdentifierArchived for a prior system's identifier the initial state left out (REQ-RC-7).

GET
/v1/aliases
curl --request GET \
--url https://example.com/v1/aliases \
--header 'Authorization: Bearer <token>'
name

The name within it.

string | null
source

The source, as register_alias takes it.

string | null

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

Media typeapplication/json

alias(source, name) (REQ-RC-7): the account an alias names.

object
account
required

The account, did:-shaped.

string
Examplegenerated
{
"account": "example"
}

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)).