@@ -7,7 +7,34 @@ import { RequestOptions } from '../../internal/request-options';
77
88export class DomainVerifications extends APIResource {
99 /**
10- * CreateDomainVerification creates a new domain verification request
10+ * Initiates domain verification process to enable organization features.
11+ *
12+ * Use this method to:
13+ *
14+ * - Start domain ownership verification
15+ * - Enable automatic team joining
16+ * - Set up SSO restrictions
17+ * - Configure email-based policies
18+ *
19+ * ### Examples
20+ *
21+ * - Verify primary domain:
22+ *
23+ * Starts verification for main company domain.
24+ *
25+ * ```yaml
26+ * organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
27+ * domain: "acme-corp.com"
28+ * ```
29+ *
30+ * - Verify subsidiary domain:
31+ *
32+ * Adds verification for additional company domain.
33+ *
34+ * ```yaml
35+ * organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
36+ * domain: "acme-subsidiary.com"
37+ * ```
1138 */
1239 create (
1340 body : DomainVerificationCreateParams ,
@@ -17,7 +44,23 @@ export class DomainVerifications extends APIResource {
1744 }
1845
1946 /**
20- * GetDomainVerification retrieves a domain verification request
47+ * Retrieves the status of a domain verification request.
48+ *
49+ * Use this method to:
50+ *
51+ * - Check verification progress
52+ * - View verification requirements
53+ * - Monitor domain status
54+ *
55+ * ### Examples
56+ *
57+ * - Get verification status:
58+ *
59+ * Checks the current state of a domain verification.
60+ *
61+ * ```yaml
62+ * domainVerificationId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
63+ * ```
2164 */
2265 retrieve (
2366 body : DomainVerificationRetrieveParams ,
@@ -27,7 +70,37 @@ export class DomainVerifications extends APIResource {
2770 }
2871
2972 /**
30- * ListDomainVerifications lists all domain verifications for an organization
73+ * Lists and monitors domain verification status across an organization.
74+ *
75+ * Use this method to:
76+ *
77+ * - Track verification progress
78+ * - View all verified domains
79+ * - Monitor pending verifications
80+ * - Audit domain settings
81+ *
82+ * ### Examples
83+ *
84+ * - List all verifications:
85+ *
86+ * Shows all domain verifications regardless of status.
87+ *
88+ * ```yaml
89+ * organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
90+ * pagination:
91+ * pageSize: 20
92+ * ```
93+ *
94+ * - List with pagination:
95+ *
96+ * Retrieves next page of verifications.
97+ *
98+ * ```yaml
99+ * organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
100+ * pagination:
101+ * pageSize: 20
102+ * token: "next-page-token-from-previous-response"
103+ * ```
31104 */
32105 list (
33106 params : DomainVerificationListParams ,
@@ -42,14 +115,46 @@ export class DomainVerifications extends APIResource {
42115 }
43116
44117 /**
45- * DeleteDomainVerification deletes a domain verification request
118+ * Removes a domain verification request.
119+ *
120+ * Use this method to:
121+ *
122+ * - Cancel pending verifications
123+ * - Remove verified domains
124+ * - Clean up unused domain records
125+ *
126+ * ### Examples
127+ *
128+ * - Delete verification:
129+ *
130+ * Removes a domain verification request.
131+ *
132+ * ```yaml
133+ * domainVerificationId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
134+ * ```
46135 */
47136 delete ( body : DomainVerificationDeleteParams , options ?: RequestOptions ) : APIPromise < unknown > {
48137 return this . _client . post ( '/gitpod.v1.OrganizationService/DeleteDomainVerification' , { body, ...options } ) ;
49138 }
50139
51140 /**
52- * VerifyDomain verifies a domain ownership
141+ * Verifies domain ownership for an organization.
142+ *
143+ * Use this method to:
144+ *
145+ * - Complete domain verification process
146+ * - Enable domain-based features
147+ * - Validate DNS configuration
148+ *
149+ * ### Examples
150+ *
151+ * - Verify domain ownership:
152+ *
153+ * Verifies ownership after DNS records are configured.
154+ *
155+ * ```yaml
156+ * domainVerificationId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
157+ * ```
53158 */
54159 verify (
55160 body : DomainVerificationVerifyParams ,
0 commit comments