DELETE https://apis.wso2.com/api/am/admin/v0.16/throttling/policies/advanced/{policyId}
Deletes an Advanced level throttling policy.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
policyId required |
Thorttle policy UUID |
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 |
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 https://apis.wso2.com/api/am/admin/v0.16/throttling/policies/advanced/{policyId}
Retrieves an Advanced Policy.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
policyId required |
Thorttle policy UUID |
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 |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Policy returned |
AdvancedThrottlePolicy |
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 Policy does not exist. |
Error |
406 |
Not Acceptable. The requested media type is not supported. |
Error |
PUT https://apis.wso2.com/api/am/admin/v0.16/throttling/policies/advanced/{policyId}
Updates an existing Advanced level throttling policy.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
policyId required |
Thorttle policy UUID |
String | |
Body |
body required |
Policy object that needs to be modified |
AdvancedThrottlePolicy (AdvancedThrottlePolicy) | |
Header |
Content-Type required |
Media type of the entity in the body. Default is application/json. |
String |
application/json |
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 |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Policy updated. |
AdvancedThrottlePolicy |
400 |
Bad Request. Invalid request or validation error. |
Error |
404 |
Not Found. The resource to be updated 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 |