Blacklist (Individual)


Delete a Blocking condition

DELETE https://apis.wso2.com/api/am/admin/v0.16/throttling/blacklist/{conditionId}

Deletes an existing Blocking condition

OAuth 2.0 Scope

Not required

Examples

Parameters

Type Name Description Schema Default
Path

conditionId

required

Blocking condition identifier

String

Header

If-Match

optional

Validator for conditional requests; based on ETag (Will be supported in future).

String

Header

If-Unmodified-Since

optional

Validator for conditional requests; based on Last Modified header (Will be supported in future).

String

Responses

HTTP Code Description Schema

200

OK. Resource successfully deleted.

404

Not Found. Resource to be deleted does not exist.

Error

412

Precondition Failed. The request has not been performed because one of the preconditions is not met (Will be supported in future).

Error

Get a Blocking Condition

GET https://apis.wso2.com/api/am/admin/v0.16/throttling/blacklist/{conditionId}

Retrieves a Blocking Condition providing the condition Id

OAuth 2.0 Scope

Not required

Examples

Parameters

Type Name Description Schema Default
Path

conditionId

required

Blocking condition identifier

String

Header

If-None-Match

optional

Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future).

String

Header

If-Modified-Since

optional

Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future).

String

Responses

HTTP Code Description Schema

200

OK. Condition returned

BlockingCondition

304

Not Modified. Empty body because the client has already the latest version of the requested resource (Will be supported in future).

404

Not Found. Requested Condition does not exist.

Error

406

Not Acceptable. The requested media type is not supported.

Error