Lists all secret bundle versions.

GET {{baseUrl}}/secretbundles/:secretId/versions?limit=10&page=<string>&sortBy=VERSION_NUMBER&sortOrder=DESC

Lists all secret bundle versions for the specified secret.

Request Params

KeyDatatypeRequiredDescription
limitnumberThe maximum number of items to return in a paginated "List" call. For information about pagination, see
List Pagination.
pagestringThe value of the opc-next-page response header from the previous "List" call. For information about
pagination, see List Pagination.
sortBystringThe field to sort by. You can specify only one sort order. The default
order for VERSION_NUMBER is descending.
sortOrderstringThe sort order to use, either ascending (ASC) or descending (DESC).

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique identifier for the request.
Acceptstring

RESPONSES

status: OK

[{&quot;secretId&quot;:&quot;\u003cstring\u003e&quot;,&quot;versionNumber&quot;:&quot;\u003clong\u003e&quot;,&quot;stages&quot;:[&quot;DEPRECATED&quot;,&quot;DEPRECATED&quot;],&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeOfDeletion&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeOfExpiry&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;versionName&quot;:&quot;\u003cstring\u003e&quot;},{&quot;secretId&quot;:&quot;\u003cstring\u003e&quot;,&quot;versionNumber&quot;:&quot;\u003clong\u003e&quot;,&quot;stages&quot;:[&quot;PREVIOUS&quot;,&quot;LATEST&quot;],&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeOfDeletion&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeOfExpiry&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;versionName&quot;:&quot;\u003cstring\u003e&quot;}]