cURL
curl --request DELETE \ --url https://rpc.etherspot.io/paymaster/deletePolicy/{id} \ --header 'apikey: <apikey>'
{ "message": "Successfully deleted policy with id 123" }
Deletes a policy by its ID.
{ "headers": { "apikey": "your_api_key_here" }, "pathVariables": { "id": "policy_id_here" } }
{ "message": "Policy deleted successfully." }
API key for authentication
The ID of the policy to delete
Successfully deleted policy
The response is of type object.
object