object-storage-2

Modify access key details

Modifies access key details.

patch/1.3/object-storage-2/{service-uuid}/users/{username}/access-keys/{access-key-id}

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/users/{username}/access-keys/{access-key-id}
  • Auth: HTTP bearer

Path parameters

service-uuidstring uuid required

The unique identifier for the service.

Example:01234567-89ab-cdef-0123-456789abcdef

Service UUID

usernamestring required

A resource name.

Example:my-object-storage

The name of the user.

access-key-idstring required

The public identifier for an access key.

Example:UCK1234567890ABCDEF

The ID of the access key.

Request body

status'Active' | 'Inactive'

Indicates if the key is active or inactive.

Example request

{
  "status": "Inactive"
}

Response

OK

access_key_idstring
created_atstring date-time
last_used_atstring date-time
secret_access_keystring

Only returned upon creation, empty otherwise.

status'Active' | 'Inactive'

Example response

{
  "access_key_id": "UCK1234567890ABCDEF",
  "secret_access_key": "",
  "status": "Active",
  "created_at": "2024-01-15T10:30:00Z",
  "last_used_at": "2024-01-20T14:22:15Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.