For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
DocsAPI Reference
Dashboard
LogoLogo
DocsAPI Reference
  • OCPPLAB Gateway API
        • GETList CPOs
        • POSTCreate CPO (durable)
        • GETGet CPO provisioning status
        • GETGet CPO
        • DELDelete CPO
        • GETGet CPO report
OCPPLAB Gateway APIOCPIOcpi Cpos

Delete CPO

||View as Markdown|
DELETE
https://host.com/ocpi/cpos/:cpo_id
DELETE
/ocpi/cpos/:cpo_id
1import requests
2
3url = "https://host.com/ocpi/cpos/42"
4
5headers = {"Authorization": "Bearer <token>"}
6
7response = requests.delete(url, headers=headers)
8
9print(response.json())

Tear the CPO down: cascade through locations + network + metadata. Idempotent — a second call is a clean no-op.

Was this page helpful?
Previous

Get CPO

Next

Get CPO report

Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

cpo_idstringRequiredformat: "^\d+$"

CPO identifier. Backed by ocpp.partner_operations.id (string, positive integer).

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error