Skip to main content
PATCH
Update network settings

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Idempotency-Key
string<uuid>
required

Client-generated unique key per operation intent (UUID). Same key + identical body replays the original response; same key + different body returns 409.

Path Parameters

network_id
string<uuid>
required

The unique ID of the network to update.

Body

application/json
name
string
Maximum string length: 255
description
string | null
Maximum string length: 1000
publicly_accessible
boolean

Whether locations in this network are included in anonymous location discovery. Applies to BASE and SUB networks.

cpo_ids
string[]

The CPOs this network owns. BASE networks only, and it is the set itself rather than a limit, so it may not be empty. Removing a CPO narrows every child sub network that covered it.

limited_to_cpo_ids
string[]

Limits this sub network to these CPOs, which must be a subset of the parent BASE network. Empty means no limit, covering every CPO the parent holds. SUB networks only.

limited_to_countries
string[]

Limits this sub network to these countries. Empty means no limit. SUB networks only.

limited_to_power_types
string[]

Limits this sub network to these power types. Empty means no limit. SUB networks only.

limited_to_parking_types
string[]

Limits this sub network to these parking types. Empty means no limit. SUB networks only.

limited_to_facilities
string[]

Limits this sub network to these facilities. Empty means no limit. SUB networks only.

auto_accept_cpo_additions
boolean

When true, CPOs added to the parent BASE network are added to this sub network's limit too. Ignored when there is no limit. SUB networks only.

Response

The updated network. Fires network.updated webhook.

network_id
string<uuid>
required

Network identifier.

name
string
required

BASE network name (auto-derived from the emsp_identity and immutable) or the creator-set SUB network name.

network_type
enum<string>
required

Network kind.

Available options:
BASE,
SUB
published
boolean
required

Whether a BASE network is currently published. Always false for SUB networks.

publish_state
enum<string> | null
required

Publish lifecycle state for BASE networks; null for SUB networks.

Available options:
PUBLISHED,
UNPUBLISHED,
UNPUBLISHING
unpublish_started_at
string<date-time> | null
required

When the current unpublish (drain) was started, if any.

unpublish_drain_until
string<date-time> | null
required

When the unpublish drain window ends, after which the network is fully unpublished.

tenant_id
string<uuid>
required

Owning tenant identifier.

emsp_identity_id
string<uuid>
required

emsp_identity the network belongs to.

description
string | null
required

Free-text description.

cpo_ids
string[]
required

Operator IDs (eMI3, e.g. DK*SPI) of the CPOs this network covers. For a BASE network this is the set it owns. For a SUB it is derived — limited_to_cpo_ids resolved against the parent — so it changes when the parent does, and empty means the network covers nothing.

limited_to_cpo_ids
string[]
required

The CPO limit set on a SUB network, as supplied. Empty means no limit, so cpo_ids is then the parent's whole set. Always empty for a BASE network, which has no parent to be limited against.

publicly_accessible
boolean
required

Whether the network is publicly accessible.

parent_network_id
string<uuid> | null
required

Parent BASE network for a SUB network; null for BASE networks.

limited_to_countries
string[]
required

ISO 3166-1 country codes this network is limited to. Empty means no limit.

limited_to_power_types
string[]
required

Power types this network is limited to. Empty means no limit.

limited_to_parking_types
string[]
required

Parking types this network is limited to. Empty means no limit.

limited_to_facilities
string[]
required

Facilities this network is limited to. Empty means no limit.

auto_accept_cpo_additions
boolean
required

Whether CPOs added to the parent BASE network are added to this SUB's limit too. Has no effect when there is no limit, which already covers whatever the parent holds.

created_at
string<date-time>
required

Creation timestamp (UTC).

updated_at
string<date-time>
required

Last-update timestamp (UTC).