curl --request GET \
--url http://localhost:8000/api/v1/google-ads-database-data/customers/{customer_id}/owners/admin \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"email": "[email protected]",
"profile": {
"first_name": "<string>",
"last_name": "<string>",
"phone_number": "<string>"
},
"is_google_recaptcha_response_valid": true
}
]Get all users who have ownership of a specific Google Ads customer (admin only).
Args: customer_id: The Google Ads customer ID _superuser_user: The superuser (injected dependency)
Returns: list[UserSchema]: List of users who own the specified customer.
curl --request GET \
--url http://localhost:8000/api/v1/google-ads-database-data/customers/{customer_id}/owners/admin \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"email": "[email protected]",
"profile": {
"first_name": "<string>",
"last_name": "<string>",
"phone_number": "<string>"
},
"is_google_recaptcha_response_valid": true
}
]The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response