Publish or withdraw a base network
Published base networks can be ranked by other organizations. When withdrawing, unpublish_drain_until keeps their access until then.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
network_id
The network’s network_id.
Headers
Idempotency-Key
A unique key you choose for this call, e.g. a UUID. Retrying with the same key returns the first result instead of acting twice.
Request
This endpoint expects an object.
published
unpublish_drain_until
Response
The network after the change.
network_id
name
network_type
published
publish_state
organization_id
emp_identity_id
cpo_ids
protocol
publicly_accessible
auto_accept_cpo_additions
created_at
updated_at
unpublish_started_at
unpublish_drain_until
description
parent_network_id
countries
power_types
parking_types
facilities
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error