Update Account

PUT {{URL_ORIGIN}}/api/accounts/:id

This API allows to create a new MP.

ID will be returned in the response, this ID is the unique identifier of the MP and should be used when sending update commands.

Note: this ID can be retrieved via Get MPs API.

Create MP- Error Codes

CodeMessage
1System is unavailable
100Missing or invalid parameter: [FieldName]
102[FieldName] already exists
10001Permission denied

Request Body

{"name"=>"Account 5", "mpId"=>"14"}

RESPONSES

status: OK

{"id":"53","name":"Account 5","mpId":"14"}