Skip to main content
GET
/
bucket-keys
/
{filesystemKey}
Get object storage key
curl --request GET \
  --url https://cloud.laravel.com/api/bucket-keys/{filesystemKey} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "type": "filesystemKeys",
    "attributes": {
      "name": "<string>",
      "access_key_id": "<string>",
      "access_key_secret": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    },
    "relationships": {
      "filesystem": {
        "data": {
          "type": "filesystems",
          "id": "<string>"
        }
      }
    }
  },
  "included": [
    {
      "id": "<string>",
      "type": "filesystems",
      "attributes": {
        "name": "<string>",
        "type": "cloudflare_r2",
        "endpoint": "<string>",
        "url": "<string>",
        "allowed_origins": "<string>",
        "cors_settings": "<string>",
        "created_at": "2023-11-07T05:31:56Z"
      },
      "relationships": {
        "keys": {
          "data": [
            {
              "type": "filesystemKeys",
              "id": "<string>"
            }
          ]
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

The Bearer Token generated on the Cloud UI.

Path Parameters

filesystemKey
string
required

The filesystem key identifier

Query Parameters

include
enum<string>[]
Available options:
filesystem

Response

FilesystemKeyResource

data
FilesystemKeyResource · object
required
included
FilesystemResource · object[]