Skip to navigation

Update a roaming partner

Updates a roaming partner’s role, version, name or active flag. Only the fields sent change; send expected_revision to refuse the update if the row changed since you read it.

Authentication

AuthorizationBearer

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

Path parameters

partner_idintegerRequired>=1
Roaming partner id.

Request

This endpoint expects an object.
rolestring or nullOptional1-50 characters
ocpi_versionenum or nullOptional
Allowed values:
roaming_partner_idinteger or nullOptional>=1
partner_namestring or nullOptional1-255 characters
descriptionstring or nullOptional<=1000 characters
slugstring or nullOptional1-255 characters
is_activeboolean or nullOptional
expected_revisioninteger or nullOptional>=1

Refuse the update (409) unless the row is still at this revision.

Response

Successful Response
idinteger
roaming_partner_idinteger
country_codestring
party_idstring
rolestring
is_activeboolean
ocpi_versionenum or nullOptional
Allowed values:
partner_namestring or nullOptional
descriptionstring or nullOptional
slugstring or nullOptional
created_atdatetime or nullOptional
updated_atdatetime or nullOptional
deleted_atdatetime or nullOptional
revisionintegerOptionalDefaults to 1
Bumped on every update.

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error