cURL
curl --request POST \ --url https://api.example.com/api/access/clients/{client_profile_id}/collections/{collection_id} \ --header 'Authorization: <authorization>'
Grant a client access to a collection (admin only)
Bearer <admin_token>
curl -X POST https://api.sari-platform.com/api/access/clients/client-uuid/collections/collection-uuid \ -H "Authorization: Bearer <admin_token>"
{ "message": "Access granted", "client_id": "client-uuid", "collection_id": "collection-uuid", "granted_at": "2024-01-15T10:00:00Z" }
client_api_access