Register with a partner (credentials handshake, admin)
Admin only. Runs the OCPI credentials handshake with a partner for the path version and role: fetches its versions with Token A, then exchanges Token B for Token C.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
OCPI version: 211 (2.1.1), 221 (2.2.1) or 230 (2.3.0).
Allowed values:
role
Our OCPI role for this partner.
Allowed values:
Request
This endpoint expects an object.
partner_id
Roaming partner (from GET /ocpi/partners).
partner_url
Partner versions URL (required on POST).
partner_token
Token A on POST; Token C on PUT when not already stored.
partner_token_encoding
Allowed values:
credentials
credentials_url
Response
Successful Response
partner_id
version
Allowed values:
action
Allowed values:
credentials_url
versions_url
endpoints
tokens_deactivated
error
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error