Add Subdomain

Add a subdomain to a attack surface domain

post/domains/{domain_id}/subdomains

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/domains/{domain_id}/subdomains
  • 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 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
}

Changes

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