Skip to main content
POST
/
update-authenticator
cURL
curl --request POST \
  --url https://api.example.com/update-authenticator \
  --header 'Content-Type: application/json' \
  --data '
{
  "leaf_index": "<string>",
  "new_authenticator_address": "<string>",
  "new_authenticator_pubkey": "<string>",
  "new_offchain_signer_commitment": "<string>",
  "nonce": "<string>",
  "old_authenticator_address": "<string>",
  "old_offchain_signer_commitment": "<string>",
  "pubkey_id": "<string>",
  "signature": [
    1
  ]
}
'
{
  "kind": "create_account",
  "request_id": "<string>",
  "status": {
    "state": "queued"
  }
}

Body

application/json

The request to update an authenticator.

Numeric string fields in this request accept decimal or 0x/0X-prefixed hex.

leaf_index
string<hex>
required

The account index.

new_authenticator_address
string<hex>
required

The new authenticator address.

new_authenticator_pubkey
string<hex>
required

The new authenticator pubkey.

new_offchain_signer_commitment
string<hex>
required

The new offchain signer commitment.

nonce
string<hex>
required

The nonce.

old_authenticator_address
string<hex>
required

The old authenticator address.

old_offchain_signer_commitment
string<hex>
required

The old offchain signer commitment.

pubkey_id
string<hex>
required

The pubkey id.

signature
integer<int32>[]
required

The signature.

Required range: x >= 0

Response

TODO

Response returned by the registry gateway for state-changing requests.

kind
enum<string>
required

The kind of operation that was submitted.

Available options:
create_account,
update_authenticator,
insert_authenticator,
remove_authenticator,
recover_account
request_id
string
required

Identifier assigned by the gateway to the submitted request.

status
object
required

The current state of the request.