---
title: "SetCustomEndpoint"
method: POST
path: "/api/cloud-ocpp/partners/{partnerId}/sites/{siteId}"
tags: ["Cloud OCPP"]
---

# SetCustomEndpoint

`POST /api/cloud-ocpp/partners/{partnerId}/sites/{siteId}`

Create or update custom endpoint for operator on requested site.

## Path parameters

- `partnerId` string, required
- `siteId` integer, required

## Request body

- EaseeCloudOcppApiSetCustomEndpointRequest
  - `customEndpoints` EaseeCloudOcppApiCustomEndpointDto[], nullable, required
    - `serialNumber` string, nullable, required
    - `url` string, nullable
    - `urlAppendix` string, nullable
    - `description` string, nullable

## Response `200`

---

[API](https://skmtc.net/easee/apis/easee-cloud-api.md) · [All operations](https://skmtc.net/easee/apis/easee-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/easee/easee-cloud-api/revisions/46ccab4af8b1/schema)
