Skip to main content
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

Path Parameters

id
integer
required

Response

message
string
Example: