cURL
curl --request POST \
--url https://api.example.com/remove-authenticator \
--header 'Content-Type: application/json' \
--data '
{
"authenticator_address": "<string>",
"leaf_index": "<string>",
"new_offchain_signer_commitment": "<string>",
"nonce": "<string>",
"old_offchain_signer_commitment": "<string>",
"signature": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
authenticator_address: '<string>',
leaf_index: '<string>',
new_offchain_signer_commitment: '<string>',
nonce: '<string>',
old_offchain_signer_commitment: '<string>',
signature: '<string>'
})
};
fetch('https://api.example.com/remove-authenticator', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"kind": "create_account",
"request_id": "<string>",
"status": {
"state": "queued"
}
}{
"code": "internal_server_error",
"message": "<string>"
}Gateway
Post remove authenticator
POST
/
remove-authenticator
cURL
curl --request POST \
--url https://api.example.com/remove-authenticator \
--header 'Content-Type: application/json' \
--data '
{
"authenticator_address": "<string>",
"leaf_index": "<string>",
"new_offchain_signer_commitment": "<string>",
"nonce": "<string>",
"old_offchain_signer_commitment": "<string>",
"signature": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
authenticator_address: '<string>',
leaf_index: '<string>',
new_offchain_signer_commitment: '<string>',
nonce: '<string>',
old_offchain_signer_commitment: '<string>',
signature: '<string>'
})
};
fetch('https://api.example.com/remove-authenticator', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"kind": "create_account",
"request_id": "<string>",
"status": {
"state": "queued"
}
}{
"code": "internal_server_error",
"message": "<string>"
}Body
application/json
The request to remove an authenticator.
Numeric string fields in this request accept decimal or 0x/0X-prefixed hex.
The authenticator address.
The account index.
The new offchain signer commitment.
The nonce.
The old offchain signer commitment.
The signature.
The authenticator pubkey.
The pubkey id.
Response
TODO
Response returned by the registry gateway for state-changing requests.
The kind of operation that was submitted.
Available options:
create_account, update_authenticator, insert_authenticator, remove_authenticator, update_recovery_agent, cancel_recovery_agent_update, execute_recovery_agent_update, recover_account Identifier assigned by the gateway to the submitted request.
The current state of the request.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Show child attributes
Show child attributes
Was this page helpful?