Skip to main content

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

ParameterTypeRequiredDescription
idintegerMandatoryUnique identifier assigned to the API Application.

Body Parameters

ParameterTypeRequiredDescription
namestringMandatoryThe 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 CodeError CodeError Message
400Request.BadRequestBad request.
400Id.InvalidId is empty or invalid.
400Name.InvalidName is empty or invalid.
404Application.NotFoundApplication is not found.

Examples

Update API Application

Request

PUT /waap/v1.0/apiProtection/apiApp/50 HTTP/1.1

{
"name": "test"
}