update_business_sphere
To set a business sphere for the account, use the account/update_business_sphere method:
svc=account/update_business_sphere¶ms={"itemId":<long>, "sph":<text>}
Only accounts (not resources) are accepted. The sph field must contain either valid IDs (taken from the configuration file) or an empty value to reset.
You can get the list of business spheres using the account/get_business_spheres command.
Response
If the business sphere is updated successfully, an empty object is returned.
Otherwise, one of the following reasons is indicated in the error:
item is not account
. You have indicated the ID of an object which is not an account.unknown sphere id
. The value in the sph field is incorrect.
{"error":<**int**>,"reason":<unknown sphere id> }