Update subaccount
Base URL:PATCH: https://api.smsgatewayapi.com/v1/subaccount/{subaccount_id}
Parameters:
Parameter | Input | Description | |
---|---|---|---|
Required | client_id | API client ID | Can be found in your API documentation |
Required | client_secret | API client secret | Can be found in your API documentation |
Optional | password | password of subaccount | New subaccount password |
Optional | memo | memo | New subaccount memo |
Example success response: http response code 200 updated
{ "ID": "1", "username": "JaneDoe", "memo": "foo", "amount_of_logins": 0 }
Example error response:
{ "errorMsg": "subaccount does not exist" }