Update API Application
Updates an existing API Application identified by ID.
Request
Request-Line
PUT /waap/v1.0/apiProtection/apiApp/{id} HTTP/1.1
Request Parameters
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | 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 | Id.Invalid | Id 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/apiApp/50 HTTP/1.1
{
"name": "test"
}