(NEW v1.33.0) 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
Code | Message |
---|---|
1 | System is unavailable |
100 | Missing or invalid parameter: [FieldName] |
102 | [FieldName] already exists |
10001 | Permission denied |
Request Body
{"name"=>"Account 5", "mpId"=>"22987", "comment"=>"Update account"}
RESPONSES
status: OK
{"id":"898","data":{"id":"150","userId":"auth0|644f8d50c6779e5c9b7b00ef|1","name":"Account 5","mpId":"22987"},"requestType":"UpdateAccount","name":"Account 1","status":"Pending","makerComment":"Update account","makerUserId":"auth0|644f8d50c6779e5c9b7b00ef","makerUserType":"Admin","timestamp":"2024-08-19T05:31:02.843"}