Update Google-Managed Data Controls
POST/v1/user_profiles/{user_profile_id}/providers/google/data_controls
Requires
anthropic-beta: google-managed-data-controls-2026-09-01. Learn how to send beta headers.Turn a control on or off, or change the key or bucket set for a region. Controls and regions that you leave out stay as they are.
Path parameters
Headers
Body
Returns
Update Google-Managed Data Controls
curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID/providers/google/data_controls \
-H 'Content-Type: application/json' \
-H 'anthropic-version: 2026-10-21' \
-H 'anthropic-beta: user-profiles-2026-09-04,google-managed-data-controls-2026-09-01' \
-H "Authorization: Bearer $ANTHROPIC_API_KEY" \
-d '{
"cmek": {
"type": "enabled",
"external_key_ids": {
"us": "ekey_01SDCCSbTxrXDpWc1phhtcfK"
}
}
}'Response 200
{
"bucket_label_value": "2f6d8c3a-91b4-4e57-8a0c-d5e1f7b3a924",
"cmek": {
"retired_keys": [
{
"expires_at": "2026-09-29T09:14:03Z",
"external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
"region": "us"
}
],
"type": "disabled"
},
"storage": {
"retired_buckets": [],
"type": "disabled"
},
"type": "google_managed_data_controls",
"updated_at": "2026-08-30T09:14:03Z",
"user_profile_id": "uprof_011CZkZCu8hGbp5mYRQgUmz9"
}Returns Examples
Response 200
{
"bucket_label_value": "2f6d8c3a-91b4-4e57-8a0c-d5e1f7b3a924",
"cmek": {
"retired_keys": [
{
"expires_at": "2026-09-29T09:14:03Z",
"external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
"region": "us"
}
],
"type": "disabled"
},
"storage": {
"retired_buckets": [],
"type": "disabled"
},
"type": "google_managed_data_controls",
"updated_at": "2026-08-30T09:14:03Z",
"user_profile_id": "uprof_011CZkZCu8hGbp5mYRQgUmz9"
}