---
title: "Update Custom Scan Headers"
method: POST
path: "/domains/{domain_id}/custom-headers"
---

# Update Custom Scan Headers

`POST /domains/{domain_id}/custom-headers`

## Request

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

Update Custom Scan Headers for a Domain

## Path parameters

- `domain_id` integer, required

## Request body

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

## Response `200`

The custom scan headers 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)
