POST Cancel Demand Response

URL: /demandResponse

Accessible by: Utility accounts only.

A demand response event may be cancelled. When cancelled, the demand response event will be removed from all thermostats in the selection.

Request Properties

Property Version Type Required Description
operation 1 String Yes The type of request. Always "cancel".
demandResponseRef 1 String Yes The system generated ID of the DR.

Response Properties

Property Version Type Description
status 1 Status The api response code.

Example Request:

Request Body

NOTE: Request body is not encoded for example purposes.

HEADERS:
	Content-Type: application/json;charset=UTF-8
	Authorization: Bearer Rc7JE8P7XUgSCPogLOx2VLMfITqQQrjg
	
REQUEST:
	POST https://api.ecobee.com/1/demandResponse?format=json

POST BODY:                
{
	"operation":"cancel",
	"demandResponse": {
		"demandResponseRef":"c253a12e0b3c3c93800095"
	}
}
				

Sample API Call

Show code sample in:
curl -s --request POST --data-urlencode @json.txt -H "Content-Type: application/json;charset=UTF-8" -H "Authorization: Bearer ACCESS_TOKEN" "https://api.ecobee.com/1/demandResponse?format=json"  
				

Example Response:

    {
        "status": {
            "code": 0,
            "message": ""
        }
    }
    

Back To Top