Approve recovery request
POST
/api/v1/recovery/guardian/approve/{request_id}
const url = 'http://localhost:3001/api/v1/recovery/guardian/approve/example';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"message":"example","signature":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3001/api/v1/recovery/guardian/approve/example \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "message": "example", "signature": "example" }'Guardian approves account recovery request
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”request_id
required
string
Recovery request ID
Request Bodyrequired
Section titled “Request Bodyrequired”Guardian approval signature
Media typeapplication/json
object
message
string
signature
string
Examplegenerated
{ "message": "example", "signature": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}Bad Request
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}Unauthorized
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}Forbidden
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}Not Found
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}Internal Server Error
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}