Gets a list of all Certificates in a compartment

GET {{baseUrl}}/certificates?compartmentId={{compartment_ocid}}&lifecycleState=&limit=100&page=&sortOrder=ASC&sortBy=timeCreated

Returns a list of certificates.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The ocid of the compartment in which to list resources.
displayNamenullA user-friendly name. Does not have to be unique, and it's changeable.

Example: My new resource | | lifecycleState | null | | A filter to return only resources that match the given lifecycle state.

Example: ACTIVE or DELETED | | limit | number | | The maximum number of items to return. | | page | null | | The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. | | sortOrder | string | | The sort order to use, either 'asc' or 'desc'. The default order depends on the sortBy value. | | sortBy | string | | The field to sort by. You can provide one sort order (sortOrder). Default order for timeCreated is descending. Default order for displayName is ascending. The displayName sort order is case sensitive. |

HEADERS

KeyDatatypeRequiredDescription
opc-request-idnullThe client request id for tracing.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

{"items":[{"subjectNames":["dolor ex","Excepteur ut laboris"],"timeNotValidAfter":"2003-02-11T04:03:17.081Z","lifecycleDetails":"cupidatat Lorem in enim","lifecycleState":"occaecat cupidatat officia"},{"subjectNames":["laboris commodo","quis do in"],"timeNotValidAfter":"1958-08-26T12:54:15.976Z","lifecycleDetails":"do consequat minim incididunt","lifecycleState":"laborum aliq"}]}