Bulk Export Resource Archives
GET/config/api/v1/tenant/:prisma_id/archiveList
Returns a list that has details about (and optionally, links for) the compressed archive files that contain the configuration details for assets that were deleted in the specified time period.
Each archive file contains the configuration details for up to 50,000 assets that belong to a cloud account ID and were deleted on a specific day.
The returned list has a maximum of 10 items. Each item is itself an array that has details about the archive file and (optionally) a temporary presigned URL for downloading the file. If the number of archive files exceeds 10, the response includes a URL (nextPageUrl) that you can use to get the next 10 archive files.
This endpoint checks the date on which an asset was deleted against the specified dates. If the asset was deleted on or after the specified start_date and on or before the specified end_date, and subsequently archived, it is included in an archive file returned by this endpoint.
Users must have the “System Admin” role in Prisma Cloud to invoke this endpoint.
Rate Limits
The following rate limits apply:
- Request Rate Limit: 80/minute
Request
Path Parameters
Your Prisma Cloud tenant ID.
Query Parameters
Start date (in the YYYY-MM-DD format) of the asset deletion period. If an asset was deleted on or after this date and on or before the end_date, and subsequently archived, it is included in one of the returned archives.
End date (in the YYYY-MM-DD format) of the asset deletion period. If an asset was deleted on or before this date and on or after the start_date, and subsequently archived, it is included in one of the returned archives.
This is an optional field. By default, the API returns the resource archive ID, cloud account ID, and the asset deletion date for 10 compressed archive files. If set to true, each item in the returned list also includes the presigned URL compressed archive file. The presigned URL is valid for 10 minutes from the time they are generated.
The token to retrieve details for the next 10 compressed archive files. This token and other query parameters are included in the nextPageUrl returned in the response.
Responses
- 200
- 400
- 401
- 403
- 405
- 425
- 429
Successfully retrieved details for the compressed archive files for the specified time period
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
value object[]
An array that has a maximum of 10 items. Each item in the array is also an array that contains the resource archive ID, cloud account ID, asset deletion date, and optionally a presigned URL for the compressed archive file.
Unique ID of the resource archive.
Cloud account ID of the assets included in the resource archive.
Date on which the assets that are included in the compressed archive file were deleted.
Presigned URL for downloading the compressed archive (.zip) file. This URL is valid for 10 minutes. If the URL expires before you can download the file, you can invoke this endpoint again to get another valid URL.
The URL to retrieve details for the next 10 compressed archive files. You can use this field to get the details for the next 10 compressed archive files.
[
{
"value": null,
"nextPageUrl": "string"
}
]
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
null
{
"status": "Bad Request",
"timestamp": "string",
"message": "string"
}
Unauthorized Access
- application/json
- Schema
- Example (from schema)
- Example
Schema
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
null
{
"status": "Unauthorized",
"timestamp": "string",
"message": "string"
}
Tenant License Expired
- application/json
- Schema
- Example (from schema)
- Example
Schema
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
null
{
"status": "Forbidden",
"timestamp": "string",
"message": "string"
}
Wrong Http Method
- application/json
- Schema
- Example (from schema)
- Example
Schema
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
null
{
"status": "Method Not Allowed",
"timestamp": "string",
"message": "string"
}
Too Early to access the resource
- application/json
- Schema
- Example (from schema)
- Example
Schema
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
null
{
"status": "Too Early",
"timestamp": "string",
"message": "string"
}
Rate Limit Exceeded
- application/json
- Schema
- Example (from schema)
- Example
Schema
Possible values: [100 CONTINUE
, 101 SWITCHING_PROTOCOLS
, 102 PROCESSING
, 103 CHECKPOINT
, 200 OK
, 201 CREATED
, 202 ACCEPTED
, 203 NON_AUTHORITATIVE_INFORMATION
, 204 NO_CONTENT
, 205 RESET_CONTENT
, 206 PARTIAL_CONTENT
, 207 MULTI_STATUS
, 208 ALREADY_REPORTED
, 226 IM_USED
, 300 MULTIPLE_CHOICES
, 301 MOVED_PERMANENTLY
, 302 FOUND
, 302 MOVED_TEMPORARILY
, 303 SEE_OTHER
, 304 NOT_MODIFIED
, 305 USE_PROXY
, 307 TEMPORARY_REDIRECT
, 308 PERMANENT_REDIRECT
, 400 BAD_REQUEST
, 401 UNAUTHORIZED
, 402 PAYMENT_REQUIRED
, 403 FORBIDDEN
, 404 NOT_FOUND
, 405 METHOD_NOT_ALLOWED
, 406 NOT_ACCEPTABLE
, 407 PROXY_AUTHENTICATION_REQUIRED
, 408 REQUEST_TIMEOUT
, 409 CONFLICT
, 410 GONE
, 411 LENGTH_REQUIRED
, 412 PRECONDITION_FAILED
, 413 PAYLOAD_TOO_LARGE
, 413 REQUEST_ENTITY_TOO_LARGE
, 414 URI_TOO_LONG
, 414 REQUEST_URI_TOO_LONG
, 415 UNSUPPORTED_MEDIA_TYPE
, 416 REQUESTED_RANGE_NOT_SATISFIABLE
, 417 EXPECTATION_FAILED
, 418 I_AM_A_TEAPOT
, 419 INSUFFICIENT_SPACE_ON_RESOURCE
, 420 METHOD_FAILURE
, 421 DESTINATION_LOCKED
, 422 UNPROCESSABLE_ENTITY
, 423 LOCKED
, 424 FAILED_DEPENDENCY
, 425 TOO_EARLY
, 426 UPGRADE_REQUIRED
, 428 PRECONDITION_REQUIRED
, 429 TOO_MANY_REQUESTS
, 431 REQUEST_HEADER_FIELDS_TOO_LARGE
, 451 UNAVAILABLE_FOR_LEGAL_REASONS
, 500 INTERNAL_SERVER_ERROR
, 501 NOT_IMPLEMENTED
, 502 BAD_GATEWAY
, 503 SERVICE_UNAVAILABLE
, 504 GATEWAY_TIMEOUT
, 505 HTTP_VERSION_NOT_SUPPORTED
, 506 VARIANT_ALSO_NEGOTIATES
, 507 INSUFFICIENT_STORAGE
, 508 LOOP_DETECTED
, 509 BANDWIDTH_LIMIT_EXCEEDED
, 510 NOT_EXTENDED
, 511 NETWORK_AUTHENTICATION_REQUIRED
]
null
{
"status": "Too Many Requests",
"timestamp": "string",
"message": "string"
}