Update API Application
Update an existing API Application identified by ID.
Request
Request-Line
PUT /waap/v1.0/apiProtection/apiApps/{appId} HTTP/1.1
Request Parameters
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| appId | Integer | Mandatory | Unique identifier assigned to the API Application. |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | String | Mandatory | The name for a new rule. The name must have 1-26 characters. Valid characters: 0-9, A-Z, a-z, space, . (dot), _ (underline), - (hyphen), () (parentheses), * (asterisk) and + (plus sign). |
Response
Status Codes, Error Codes and Error Messages
| Status Code | Error Code | Error Message |
|---|---|---|
| 400 | Request.BadRequest | Bad request. |
| 400 | AppId.Invalid | AppId is empty or invalid. |
| 400 | Name.Invalid | Name is empty or invalid. |
| 404 | Application.NotFound | Application is not found. |
Examples
Update API Application
Request
PUT /waap/v1.0/apiProtection/apiApps/50 HTTP/1.1
{
"name": "test"
}