Register Subkey

Register a new subkey for the authenticated account.

Authentication

Authorizationstring
API Key authentication via header

Request

Subkey registration request
namestringRequired

User-friendly name for the subkey.

public_keystringRequired
Public key to be registered as a subkey.
encrypted_keystringOptional

Encrypted private key (required if state=pending).

eph_public_keystringOptional

Ephemeral public key for signature verification (required if state=pending).

statestringOptionalDefaults to active

State of the subkey: ‘active’ or ‘pending’. Defaults to ‘active’.

Response

An empty response

Errors

400
Bad Request Error
401
Unauthorized Error