v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Add Subdomain

Add a subdomain to a attack surface domain

post/domains/{domain_id}/subdomains

Path parameters

domain_idinteger required

The ID of the domain to add the subdomain to

Request body

subdomain_namestring required

Subdomain part of the domain name. This should not include the domain name. eg. 'apidocs' for 'apidocs.aikido.dev'

Example request

{
  "subdomain_name": "apidocs"
}

Response

The subdomain has been added successfully

successinteger

The integer 1 indicating success

Example response

{
  "success": 1
}