cURL
curl --request GET \ --url https://api.example.com/api/access/clients/{client_profile_id}/collections \ --header 'Authorization: <authorization>'
List all collections and access status for a client (admin only)
Bearer <admin_token>
curl https://api.sari-platform.com/api/access/clients/550e8400-e29b-41d4-a716-446655440000/collections \ -H "Authorization: Bearer <admin_token>"
[ { "id": "collection-uuid-1", "name": "Stripe API", "description": "Payment processing", "has_access": true, "granted_at": "2024-01-15T10:00:00Z" }, { "id": "collection-uuid-2", "name": "PayPal API", "description": "Online payments", "has_access": false, "granted_at": null } ]