Updating OCI Key Attributes
Use the patch /v1/cckm/oci/keys/{id}
API to update the OCI key attributes such as defined tags, display name, and free form tags.
Syntax
Here, {id}
is the resource ID of the OCI key.
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authentication token. |
defined_tags | JSON | Defined tags for the key. A tag consists of a namespace, key, and value. |
display_name | string | Name for the key. |
freeform_tags | JSON | Freeform tags for the key. A freeform tag is a simple key-value pair with no predefined name, type, or namespace. |
name (optional) | string | Name for the OCI key. Applicable only to OCI keys. |
policy (optiona) | string | Policy for the OCI key. Applicable only to OCI keys. |
Example Request
Example Response
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.