Revoke guardian
Requires scope wallets:write.
ApiKeyAuthorizationBearer <sk_test_ or sk_live_ key>Your sk_live_ / sk_test_ API key
id*unknownWallet id
application/json- body
chain?stringThe one chain to turn recovery off on.
"ethereum""base""arbitrum""polygon""celo""optimism""plasma"chains?array<>Several chains to turn recovery off on in one call.
1 <= itemspasskeyPublicKey*The P-256 coordinates of the customer passkey that owns the Safe.
passkeyData?A passkey assertion.
ref?stringYour own identifier for this removal, which turns chains + passkeyData into a single-assertion call.
1 <= length <= 200Response Body
200application/json
Revocation prepared or submitted, or recovery already off on the named chain
TypeScript Definitions
Use the response body type in TypeScript.
401application/json
The Authorization header is missing, malformed, or the API key is unknown or revoked
TypeScript Definitions
Use the response body type in TypeScript.
429application/json
The API key exceeded its request budget for the window
TypeScript Definitions
Use the response body type in TypeScript.
Language
curl -X POST 'https://api.pilot.shiga.io/v1/wallets/{id}/guardians/revoke' \ -H 'Authorization: Bearer sk_test_...' \ -H 'Content-Type: application/json' \ -d '{ "passkeyPublicKey": { "x": "string", "y": "string" }}'{ "data": { "walletId": "0ecad4a2-3549-43fb-807e-9ff033247480", "chain": "base", "chains": [ "base", "arbitrum" ], "state": "pending", "recoveryStillAvailable": true, "moduleDisabled": true, "userOpHash": "0xabc123", "revokedGuardianSafe": "string", "transactionHash": "string", "threshold": 0, "signatureRequests": [ { "chain": "base", "userOpHash": "0xabc123" } ], "failures": [ { "chain": "base", "reason": "string" } ] }, "status": 200, "success": true}