PUT
/
disablePolicy
/
{id}
/disablePolicy/{id}
curl --request PUT \
  --url https://rpc.etherspot.io/paymaster/disablePolicy/{id} \
  --header 'apikey: <apikey>'
{
  "message": "Successfully disabled policy with id 123"
}
Example values you can use to demo the API:
{
  "headers": {
    "apikey": "your_api_key_here"
  },
  "pathVariables": {
    "id": "policy_id_here"
  }
}
Example response:
{
  "message": "Policy disabled successfully."
}

Headers

apikey
string
required

API key associated with the wallet address.

Path Parameters

id
integer
required

The ID of the sponsorship policy to disable.

Response

Successfully disabled the sponsorship policy

message
string
Example:

"Successfully disabled policy with id 123"