コンテンツにスキップ

List storage destinations

GET
/api/admin/storage-destinations
Code sample: Shell / cURL
curl --request GET \
--url 'https://auth.example.com/api/admin/storage-destinations?scope_type=tenant' \
--header 'Authorization: Bearer <token>'

List tenant or platform storage destinations, sanitizing credential metadata for non-platform admins.

scope_type
string
Allowed values: tenant platform

Destination scope type. Tenant is the default; platform requires platform authority.

Storage destination list.

Media type application/json
object
items
required
Array<object>
object
id
string
scope_type
string
scope_id
string
name
string
display_name
string
description
Any of:
string
provider
string
config
object
key
additional properties
has_credential
boolean
credential_key_version
Any of:
integer format: int64
credential_updated_at
Any of:
integer format: int64
credential_updated_by
Any of:
string
status
string
created_by
string
updated_by
string
created_at
integer format: int64
updated_at
integer format: int64
Example
{
"items": [
{
"id": "sd_123",
"scope_type": "platform",
"scope_id": "platform",
"name": "audit-archive",
"display_name": "Audit Archive",
"description": "R2 bucket for audit log archives.",
"provider": "r2",
"config": {
"bindingRef": "AUDIT_ARCHIVE"
},
"managed_by": "admin",
"read_only": {
"not": {}
},
"has_credential": {
"not": {}
},
"credential_key_version": null,
"credential_updated_at": null,
"credential_updated_by": null,
"status": "active",
"created_by": "admin_123",
"updated_by": "admin_123",
"created_at": 1770000000000,
"updated_at": 1770000000000
}
]
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}