[comment]: # ({72ba4deb-72ba4deb})
# application.update

[comment]: # ({/72ba4deb-72ba4deb})

[comment]: # ({fd75bfba-fd75bfba})
### Description

`object application.update(object/array applications)`

This method allows to update existing applications.

[comment]: # ({/fd75bfba-fd75bfba})

[comment]: # ({4276e495-4276e495})
### Parameters

`(object/array)` [Application properties](object#application) to be
updated.

The `applicationid` property must be defined for each application, all
other properties are optional. Only the passed properties will be
updated, all others will remain unchanged.

[comment]: # ({/4276e495-4276e495})

[comment]: # ({9c8c3f1e-9c8c3f1e})
### Return values

`(object)` Returns an object containing the IDs of the updated
applications under the `applicationids` property.

[comment]: # ({/9c8c3f1e-9c8c3f1e})

[comment]: # ({b41637d2-b41637d2})
### Examples

[comment]: # ({/b41637d2-b41637d2})

[comment]: # ({618c2310-618c2310})
#### Changing the name of an application

Change the name of the application to "Processes and performance".

Request:

``` {.java}
{
    "jsonrpc": "2.0",
    "method": "application.update",
    "params": {
        "applicationid": "13",
        "name": "Processes and performance"
    },
    "auth": "038e1d7b1735c6a5436ee9eae095879e",
    "id": 1
}
```

Response:

``` {.java}
{
    "jsonrpc": "2.0",
    "result": {
        "applicationids": [
            "13"
        ]
    },
    "id": 1
}
```

[comment]: # ({/618c2310-618c2310})

[comment]: # ({d53bc4f5-d53bc4f5})
### Source

CApplication::update() in
*frontends/php/include/classes/api/services/CApplication.php*.

[comment]: # ({/d53bc4f5-d53bc4f5})
