announcement

During the current lapse in appropriations, EPA intends to keep the ENERGY STAR website, tools, and resources available, however they will not be updated regularly. Many services may not be available during this time.

Web Service Documentation / Categories / Reporting Services / Delete Data Request Access

Delete Data Request Access

Updated on October 10, 2023

Description

This web service deletes a specific customer's data request access. The data request must be closed. The data request itself is not deleted – just the customer's access to it. The customer can reference a user you're connected to or your own account.

Version

25.0

HTTP Method

DELETE

Resource URL

/reports/customers/(customerId)/dataResponses/dataRequests/(dataRequestId)

Header

Field Name Value Comments
Authorization Basic credentials

Authorization Required

Yes

Parameters

Parameter Name Description
customerId Id of the customer
dataRequestId Id of the data request

XML Schemas

Request/Response Schema Name
Request None
Response response.xsd

Example Request

The following example deletes the customer's access to the data request that has an id of 9876.

DELETE  /reports/customers/675434/dataResponses/dataRequests/9876

Example Response

The following example shows the results when you call this web service.

<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok"/>
LIVE