Viewing purge request
- Print
- PDF
Viewing purge request
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
View details about a purge request.
Requests
Request URL
GET
https://edge.apigw.ntruss.com/api/v1/purge/{profileId}/{edgeId}/{purgeRequestId}
Request parameter
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
profileId | Yes | Long | Profile number | |
edgeId | Yes | Long | Edge number | |
purgeRequestId | Yes | Long | Purge request number |
Response
Every response returns success or failure with an HTTP status code.
HTTP status code | Code message | Description |
---|---|---|
200 | Success | Search succeeded |
401 | Unauthorized | Authentication failed |
500 | Internal Server Error | Server error |
PurgeHistory
Item | Type | Description |
---|---|---|
clientIp | String | Purge requester IP |
purgeId | Long | Purge request number |
instanceNo | Long | Edge contract number |
requestDateTime | ZonedDateTime | Purge request date and time (UTC) |
serviceDomain | String | Purge target domain |
status | PurgeResult | Purge progress |
targetDirectory | String | List of directories to purge (serialized with commas) |
targetFileList | List<String> | Purge target list |
targetFileListString | String | Purge target list (serialized with comma) |
purgeType | PurgeType | Purge type |
workerType | WorkerType | Purge requester account type |
ticketId | String | Purge ticket ID |
PurgeResult
Value | Description |
---|---|
READY | Purge ready for run |
RUNNING | Purge running |
SUCCESS | Purge success |
FAILURE | Purge failed |
PurgeType
Value | Description |
---|---|
ALL | Purge all contents |
DIRECTORY | Purge by directory |
PATTERN | Purge content by extension |
URL | Purge designated content with URL |
WorkerType
Value | Description |
---|---|
ACCOUNT | Requested from main account |
SUBACCOUNT | Requested from sub account |
Examples
Request examples
https://edge.apigw.ntruss.com/api/v1/purge/111/222/9999
Response examples
{
"clientIp":"127.0.0.1",
"purgeId":9999,
"instanceNo":999999,
"requestDateTime":"2022-11-24T07:54:13Z",
"serviceDomain":"sample.mycustomdomain.com",
"status":"READY",
"purgeType":"ALL",
"workerType":"ACCOUNT",
"ticketId":"PT-00000000000000000000"
}
Errors
Error code | Description |
---|---|
0032 | Unauthorized request |
0400 | Requested data format mismatch |
9999 | Server error occurred |
Was this article helpful?