Skip to content

List storage destination usage

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

List records that reference a storage destination for a feature and resource.

id
required
string

Storage destination usage list.

Media type application/json
object
items
required
Array<object>
object
id
string
destination_id
string
feature
string
resource_type
string
resource_id
string
tenant_id
string
metadata
object
key
additional properties
created_by
string
created_at
integer format: int64
Example
{
"items": [
{
"id": "sdu_123",
"destination_id": "sd_123",
"feature": "audit_archive",
"resource_type": "audit_log",
"resource_id": "audit_123",
"tenant_id": "tenant_123",
"metadata": {
"reason": "archive_write"
},
"created_by": "admin_123",
"created_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"
}