Skip to main content
POST
Add crawl subdomain

Body

application/json
subdomain
string
required

Hostname to allow, such as admin.example.com, without scheme or path.

Maximum string length: 253
Pattern: ^[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
projectShortId
string

Target a specific project by its prefixed short ID (proj-slug_shortId or proj_shortId), as returned by the projects API. Required for organization-scoped API keys; project-scoped keys may only pass their own project's short ID.

Pattern: ^proj(-.+_.+|_.+)$

Response

200 - application/json

The request has succeeded.

success
boolean
required
subdomain
object
required