Method for Working with Installation Name

To work with installation name, execute requests using the "administration" API method (determine administrator token before executing the request):

curl -v '<IP address or DNS server name>/api/v2/dashboard/administration/' --header 'Content-Type: application/json' -H 'Authorization: Bearer <administrator token>'

The example of response:

{
    "title": "Foresight Mobile Platform"
}

curl -X PUT -v '<IP address or DNS server name>/api/v2/dashboard/administration/' --header 'Content-Type: application/json' -H 'Authorization: Bearer <administrator token>' -d '{"title": "<new installation name>"}'

The example of response:

{
    "title": "Custom name of administrator console"
}

See also:

Server API