check_top_service

To check if the current user is the top user of the service, use the apps/check_top_service method. Only the top user can add, edit, and delete apps using the apps/create, apps/update, and apps/delete methods.

This method is available only in Wialon Hosting.

Endpoint

Copied!
svc=apps/check_top_service&params={}

Response

If the current user is the top user of the service, the following response is returned:

Copied!
{
  "error": 0
}

Otherwise, an error code is returned.

Error codes

Error code Description
7 The current user isn’t the top user of the service, or the service isn’t Wialon Hosting.

If you find a mistake in the text, please select it and press Ctrl+Enter.