You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3d6ed25
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/backend/src/api/endpoints/DomainApi.ts
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ export type AddDomainParams = {
12
12
* The new domain name. For development instances, can contain the port, e.g., `myhostname:3000`. For production instances, must be a valid FQDN, e.g., `mysite.com`. Cannot contain protocol scheme.
13
13
*/
14
14
name: string;
15
-
/** Whether the new domain is a satellite domain. Only `true` is accepted at the moment. */
15
+
/** Whether the new domain is a satellite domain. */
16
16
is_satellite: boolean;
17
17
/** The proxy URL for the domain. Applicable only to production instances. */
18
18
proxy_url?: string|null;
@@ -70,25 +70,25 @@ export class DomainAPI extends AbstractAPI {
70
70
}
71
71
72
72
/**
73
-
* Deletes a satellite domain for the instance. It is currently not possible to delete the instance's primary domain.
74
-
* @paramsatelliteDomainId - The ID of the satellite domain to delete.
73
+
* Deletes a domain for the instance. The active domain cannot be deleted.
74
+
* @paramdomainId - The ID of the domain to delete.
75
75
* @returns The [`DeletedObject`](https://clerk.com/docs/reference/backend/types/deleted-object).
76
76
*/
77
-
publicasyncdelete(satelliteDomainId: string){
78
-
returnthis.deleteDomain(satelliteDomainId);
77
+
publicasyncdelete(domainId: string){
78
+
returnthis.deleteDomain(domainId);
79
79
}
80
80
81
81
/**
82
-
* Deletes a satellite domain for the instance.
83
-
* @paramsatelliteDomainId - The ID of the satellite domain to delete.
82
+
* Deletes a domain for the instance. The active domain cannot be deleted.
83
+
* @paramdomainId - The ID of the domain to delete.
84
84
* @returns The [`DeletedObject`](https://clerk.com/docs/reference/backend/types/deleted-object).
0 commit comments