cURL
curl --request PUT \ --url https://rpc.etherspot.io/paymaster/disablePolicy/{id} \ --header 'apikey: <apikey>'
{ "message": "Successfully disabled policy with id 123" }
Disables an existing sponsorship policy by its ID.
{ "headers": { "apikey": "your_api_key_here" }, "pathVariables": { "id": "policy_id_here" } }
{ "message": "Policy disabled successfully." }
API key associated with the wallet address.
The ID of the sponsorship policy to disable.
Successfully disabled the sponsorship policy
The response is of type object.
object