---
title: "Create a Datadog GCP principal"
method: POST
path: "/api/v2/integration/gcp/sts_delegate"
tags: ["GCP Integration"]
---

# Create a Datadog GCP principal

`POST /api/v2/integration/gcp/sts_delegate`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/integration/gcp/sts_delegate`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Create a Datadog GCP principal.

## Request body

- object

## Response `200`

OK

- GCPSTSDelegateAccountResponse: Your delegate service account response data.
  - `data` GCPSTSDelegateAccount: Datadog principal service account info.
    - `attributes` GCPSTSDelegateAccountAttributes: Your delegate account attributes.
      - `delegate_account_email` string: Your organization's Datadog principal email address.
    - `id` string: The ID of the delegate service account.
    - `type` 'gcp_sts_delegate': The type of account.

## Other responses

- `403`: Not Authorized
- `409`: Conflict
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
