---
title: "Sets OCPP default connection details for an operator. Should only be used when basic auth is not required."
method: POST
path: "/local-ocpp/v1/operators/{operatorId}/connection-details"
tags: ["Direct OCPP - For Operators"]
---

# Sets OCPP default connection details for an operator. Should only be used when basic auth is not required.

`POST /local-ocpp/v1/operators/{operatorId}/connection-details`

Returns a versioned object detailing all the information for how OCPP is configured for new chargers that are attached to an operator

## Path parameters

- `operatorId` integer, required

## Request body

- EaseeOCPPConfigurationAPIPostOperatorConnectionDetailsRequest
  - `websocketConnectionArgs` EaseeOCPPConfigurationAPIWebsocketConnectionArgs
    - `url` string, required — CSMS endpoint url for websocket connection. Specify custom port if needed, otherwise default port will be used. ChargePointId or if not provided SerialNumber will be appended to url.
    - `caCertificate` string, nullable — CA certificate in pem format to enable TLS
    - `caCertificateDomain` string, nullable — CA certificate domain
  - `connectivityMode` 'OcppOff' | 'DualProtocol' | 'Unknown'
  - `basicAuthPassword` string, nullable — Password for basic authorization. Set this to apply to all chargers with username set as SerialNumber
  - `applyToNewDevices` boolean, required — Specifies if OCPP should be provisioned when a new charger is paired to an operator

## Response `200`

Success

- EaseeOCPPConfigurationAPIPostOperatorConnectionDetailsResponse
  - `version` string — Version identifier, used to fetch specific configuration versions

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[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)
