This repository was archived by the owner on Jul 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ export class ManagerAuth extends ApiConnection {
216216 * @param email The user's email address
217217 */
218218 enableLetsEncrypt ( email : string ) {
219- return this . post < void > ( "enable- letsencrypt" , {
219+ return this . post < void > ( "letsencrypt" , {
220220 email,
221221 acceptedTos : true ,
222222 } ) ;
@@ -231,12 +231,18 @@ export class ManagerAuth extends ApiConnection {
231231 }
232232
233233 addDomain ( app : string , domain : string ) {
234- return this . post < void > ( "add- domain" , {
234+ return this . post < void > ( "domain" , {
235235 app,
236236 domain,
237237 } ) ;
238238 }
239239
240+ removeDomain ( app : string ) {
241+ return this . delete < void > ( "domain" , {
242+ app,
243+ } ) ;
244+ }
245+
240246 ipAddr ( ) {
241247 return this . get < string > ( "ip-addr" ) ;
242248 }
You can’t perform that action at this time.
0 commit comments