| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### Parameters

- **meter_id**  
  *string*  
  *required*  
  The unique identifier of the meter for which the disenrollment request is being created.

- **disenrollment_date**  
  *date*  
  *required*  
  The date by which you want the meter to be disenrolled. It cannot be today's date, and must be a date in the future. `yyyy-MM-dd`.

- **reason**  
  *string*  
  *required*  
  The reason for disenrolling the meter.

### Responses

# ``200      Disenrollment request is created successfully.

object
  
  - **disenrollment_date**  
    *date*  
    *required*  
    The date by which you want the meter to be disenrolled. Date format: `yyyy-MM-dd`.
  
  - **reason**  
    *string*  
    *required*  
    The reason for disenrolling the meter.

# ``400      - Meter id is not a valid UUID.  
- The date by which you want the meter to be disenrolled. It cannot be today's date and must be a date in the future.  
- The disenrollment request does not have a reason.

# ``401      You are not authorized to perform this operation.

# ``403      You do not have the necessary permissions for this operation.

# ``404      The meter with the given uuid is not found.

# ``409      There is a `Pending` disenrollment request for the specified meter. A meter can only have one disenrollment request with the status `Pending`.

### Example Request

Base URL

```
https://api.staging.leap.energy/v1.1/enrollment/meters/{meter_id}/disenrollment_requests
```

```bash
curl --request POST \
     --url https://api.staging.leap.energy/v1.1/enrollment/meters//disenrollment_requests \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

### Example Payload

```json
{
  "reason": "reason",
  "disenrollment_date": "2000-01-23"
}
```
