---
title: "Update Auth Headers"
method: POST
path: "/domains/{domain_id}/headers"
---

# Update Auth Headers

`POST /domains/{domain_id}/headers`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/domains/{domain_id}/headers`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `domains:write`

Update Authentication Headers for a Domain

## Path parameters

- `domain_id` integer, required

## Request body

- object
  - `http_headers` object[], required: The authentication headers
    - `name` string
    - `value` string

## Response `200`

The authentication header have been updated successfully

- object
  - `success` integer: The integer 1 indicating success

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
