Update STS Service Account
PATCH {{baseUrl}}/api/v2/integration/gcp/accounts/:account_id
Update an STS enabled service account.
Request Body
{"data"=>{"attributes"=>{"account_tags"=>["cillum ea dolor tempor", "in nulla Duis"], "automute"=>false, "client_email"=>"datadog-service-account@test-project.iam.gserviceaccount.com", "cloud_run_revision_filters"=>["$KEY:$VALUE"], "host_filters"=>["qui", "in ipsum veniam"], "is_cspm_enabled"=>true, "is_security_command_center_enabled"=>true, "resource_collection_enabled"=>true}, "id"=>"d291291f-12c2-22g4-j290-123456678897", "type"=>"gcp_service_account"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"data":{"attributes":{"account_tags":["Lorem laboris fugiat","dolor ea proident"],"automute":true,"client_email":"datadog-service-account@test-project.iam.gserviceaccount.com","cloud_run_revision_filters":["$KEY:$VALUE"],"host_filters":["cillum ","ut"],"is_cspm_enabled":true,"is_security_command_center_enabled":true,"resource_collection_enabled":false},"id":"d291291f-12c2-22g4-j290-123456678897","meta":{"accessible_projects":["dolor ","Duis"]},"type":"gcp_service_account"}}