Update Auth Headers

Update Authentication Headers for a Domain

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

Path parameters

domain_idinteger required

The ID of the domain to be deleted

Request body

Example request

{
  "http_headers": [
    {
      "name": "x-auth-test",
      "value": "demovalue"
    }
  ]
}

Response

The authentication header have been updated successfully

successinteger

The integer 1 indicating success

Example response

{
  "success": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.