Skip to main content
PATCH
/
api
/
v1
/
keys
/
{key}
Update key
curl --request PATCH \
  --url https://storage-service.iran.liara.ir/api/v1/keys/{key} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "buckets": [
    {}
  ],
  "description": "<string>"
}
'
{
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

key
string
required

Body

application/json

Declare Buckets for access key

buckets
object[]
description
string

Response

successful operation

status
string