Viewing OCI Key Versions
Use the get /v1/cckm/oci/keys/{id}/versions
API to view the list of OCI key versions.
Syntax
Here, {id}
is the resource ID of the OCI key.
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authentication token. |
origin | string | Origin of the OCI key version. |
version_id | string | Internal id of the OCI key version. |
is_primary | boolean | Whether the version is primary. Specify true for primary key versions. |
skip | integer | Number of records to skip. For example, if "skip":5 is specified, the first five records will not be displayed in the output. |
limit | integer | Numbers of records to display. For example, if "limit":10 is specified, then the next 10 records (after skipping the number of records specified in the skip parameter) will be displayed in the output. |
Example Request
Example Response
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.