list_project_domains
Retrieve project domains by project by id or name.
| Parameter | Type | Required | Description |
|---|---|---|---|
idOrName | string | Yes | The unique project identifier or the project name |
production | string | No | Filters only production domains when set to true. Allowed values: "true", "false". Default: "false". |
target | string | No | Filters on the target of the domain. Can be either "production", "preview" Allowed values: "production", "preview". |
customEnvironmentId | string | No | The unique custom environment identifier within the project |
gitBranch | string | No | Filters domains based on specific branch. |
redirects | string | No | Excludes redirect project domains when "false". Includes redirect project domains when "true" (default). Allowed values: "true", "false". Default: "true". |
redirect | string | No | Filters domains based on their redirect target. |
verified | string | No | Filters domains based on their verification status. Allowed values: "true", "false". |
limit | number | No | Maximum number of domains to list from a request (max 100). |
since | number | No | Get domains created after this JavaScript timestamp. |
until | number | No | Get domains created before this JavaScript timestamp. |
order | string | No | Domains sort order by createdAt Allowed values: "ASC", "DESC". Default: "DESC". |
teamId | string | No | Team ID to use for this operation. |
slug | string | No | Team slug to use for this operation. Use instead of teamId. |
Was this helpful?