Skip to content

Get a storage destination

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

Return a storage destination if the current admin has access to its platform or tenant scope.

id
required
string

Storage destination detail.

Media type application/json
object
item
required
object
key
additional properties
key
additional properties
Example
{
"item": {
"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": false,
"has_credential": false,
"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"
}