---
title: "Enable an AWS Logs integration"
method: POST
path: "/api/v1/integration/aws/logs/services"
tags: ["AWS Logs Integration"]
deprecated: true
---

# Enable an AWS Logs integration

`POST /api/v1/integration/aws/logs/services`

> **Deprecated.**

Enable automatic log collection for a list of services. This should be run after running `CreateAWSLambdaARN` to save the configuration.

## Request body

- AWSLogsServicesRequest — A list of current AWS services for which Datadog offers automatic log collection.
  - `account_id` string, required — Your AWS Account ID without dashes.
  - `services` string[], required — Array of services IDs set to enable automatic log collection. Discover the list of available services with the get list of AWS log ready services API endpoint.

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `403` — Authentication Error
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v1.md) · [All operations](https://skmtc.net/datadog/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v1/revisions/ca5871004d26/schema)
