Skip to content
中文

Get subdomain

GET /cloudflare/client/v4/accounts/{account_id}/workers/subdomain

Get the account subdomain.

Support: supported

Parameters

NameLocationTypeRequiredDescription
account_idpathstringtrueAny value; your account comes from the API key.

Response

HTTP 200

Success

application/json

Name Type Description
success boolean Always true on success.
errors array<any> Always empty on success.
messages array<any> Always empty on success.
result object
result.subdomain string Account subdomain, 8–32 lowercase letters and digits; part of every Worker URL.
result_info object Present on list responses.
result_info.page integer Page number.
result_info.per_page integer Page size.
result_info.count integer Items on this page.