File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed 
packages/backend/src/api/endpoints Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ --- 
2+ ' @clerk/backend ' patch 
3+ --- 
4+ 
5+ Deprecate ` createSMSMessage `  and ` SMSMessageApi `  from ` clerkClient ` .
6+ 
7+ The ` /sms_messages `  Backend API endpoint will also be dropped in the future since this feature will no longer be available for new Clerk instances.
8+ 
9+ For a brief period it will still be accessible for instances that have used it in the past 7
10+ days (13-11-2023 to 20-11-2023).
11+ 
12+ New instances will get a 403 forbidden response if they try to access it.
Original file line number Diff line number Diff line change 1+ import  {  deprecated  }  from  '@clerk/shared/deprecated' ; 
2+ 
13import  type  {  SMSMessage  }  from  '../resources/SMSMessage' ; 
24import  {  AbstractAPI  }  from  './AbstractApi' ; 
35
@@ -8,8 +10,15 @@ type SMSParams = {
810  message : string ; 
911} ; 
1012
13+ /** 
14+  * @deprecated  This endpoint is no longer available and the function will be removed in the next major version. 
15+  */ 
1116export  class  SMSMessageAPI  extends  AbstractAPI  { 
17+   /** 
18+    * @deprecated  This endpoint is no longer available and the function will be removed in the next major version. 
19+    */ 
1220  public  async  createSMSMessage ( params : SMSParams )  { 
21+     deprecated ( 'SMSMessageAPI.createSMSMessage' ,  'This endpoint is no longer available' ) ; 
1322    return  this . request < SMSMessage > ( { 
1423      method : 'POST' , 
1524      path : basePath , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments