How to disable vehicles charging by Http APi?

I found by RAPI,
Pause:
http://192.168.0.108/r?rapi=%24FS
Resume:
http://192.168.0.108/r?rapi=%24FE

I understand that in “pause mode” even if a vehicle was plugged in, it would not work and “summary mode” if, in addition, the “pause mode” was changed to “summary mode” the charging would begin, right?

Or is there another way to disable it?

I read that you don’t have to use RAPI, but the HTTP API, but I can’t find the command :frowning:

You should avoid using the RAPI API it is only there to support legacy instillations and will be decommissioned in the upcoming v5 release.

The HTTP API documentation can be found at https://openevse.stoplight.io/. The endpoint you want is /claim

That’s why I read that it was better not to use RAPI because it would be deprecated.

Deactivate

curl --request POST \
   --url http://openevse.local/claims/client \
   --header 'Accept: application/json' \
   --header 'Content-Type: application/json' \
   --data '{
   "state": "disabled"
}'

Activate

curl --request POST \
   --url http://openevse.local/claims/client \
   --header 'Accept: application/json' \
   --header 'Content-Type: application/json' \
   --data '{
   "state": "active"
}'

I will try it tonight.