cURL
curl --request POST \
--url https://api.example.com/cancel-recovery-agent-update \
--header 'Content-Type: application/json' \
--data '
{
"leaf_index": "<string>",
"nonce": "<string>",
"signature": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({leaf_index: '<string>', nonce: '<string>', signature: '<string>'})
};
fetch('https://api.example.com/cancel-recovery-agent-update', 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>"
}{
"code": "internal_server_error",
"message": "<string>"
}{
"code": "internal_server_error",
"message": "<string>"
}World ID Gateway
Post cancel recovery agent update
POST
/
cancel-recovery-agent-update
cURL
curl --request POST \
--url https://api.example.com/cancel-recovery-agent-update \
--header 'Content-Type: application/json' \
--data '
{
"leaf_index": "<string>",
"nonce": "<string>",
"signature": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({leaf_index: '<string>', nonce: '<string>', signature: '<string>'})
};
fetch('https://api.example.com/cancel-recovery-agent-update', 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>"
}{
"code": "internal_server_error",
"message": "<string>"
}{
"code": "internal_server_error",
"message": "<string>"
}Body
application/json
Response
Request accepted
Response returned by the registry gateway for state-changing requests.
Was this page helpful?