Update
PUT/2.2.1/credentials
Replaces the tokens of a registered platform. Send it with your current credentials token and new Credentials in the body.
VoltBras reads your versions and endpoints again with the token in the body, and answers with a new token for you; the token of the request stops working.
Request
Responses
- 200
- 400
- 401
- 405
VoltBras's new Credentials, or an OCPI error that stored nothing.
The body is not valid JSON.
Missing or unknown token, or the registration token on another module.
Response Headers
WWW-Authenticate
The method does not match your token: the registration token allows GET and POST, and
a credentials token allows GET, PUT, and DELETE. The Allow header lists the methods.
A POST also gets it when a concurrent POST already registered with the same token.
Response Headers
Allow