Add Subscriber Email
The Add Subscriber Email request adds a subscriber email address.
URI
{{baseUrl}}/api/v2/customer/{customerGuid}/user/sip:<username>.onmicrosoft.com/script
                                                HTTP Method
POST
Request Parameters
| 
                                                             Parameter  | 
                                                        
                                                             Type  | 
                                                        
                                                             Description  | 
                                                    
|---|---|---|
| 
                                                             customerGuid * string($uuid)  | 
                                                        
                                                             path  | 
                                                        
                                                             Customer subscriber Azure Tenant Guid.  | 
                                                    
| 
                                                             subscriberEmail * string  | 
                                                        
                                                             path  | 
                                                        
                                                             Customer subscriber Email address.  | 
                                                    
Response
| ■ | 200 Success | 
| ■ | 400 Bad Request | 
| 
                                                             Parameter  | 
                                                        
                                                             Type  | 
                                                        
                                                             Description/Examples  | 
                                                    
|---|---|---|
| 
                                                             errors  | 
                                                        
                                                             string  | 
                                                        Text description of the error. | 
| 
                                                             type  | 
                                                        
                                                             string  | 
                                                        
                                                             "https://tools.ietf.org/html/rfc7231#section-6.5.1"  | 
                                                    
| 
                                                             title  | 
                                                        
                                                             string  | 
                                                        
                                                             Email title. For example "One or more validation errors occurred."  | 
                                                    
| 
                                                             status  | 
                                                        
                                                             string  | 
                                                        
                                                             HTML error code i.e. 400  | 
                                                    
| 
                                                             detail  | 
                                                        
                                                             string  | 
                                                        
                                                             Additional error details.  | 
                                                    
| 
                                                             traceId  | 
                                                        
                                                             
  | 
                                                        
                                                             Error trace Id.  | 
                                                    
| 
                                                             instance  | 
                                                        
                                                             string  | 
                                                        
                                                             Error instance.  | 
                                                    
| 
                                                             Cac Profile  | 
                                                        
                                                             string  | 
                                                        
                                                             Information related to configured CAC sessions.  | 
                                                    
| 
                                                             ProxySet  | 
                                                        
                                                             string  | 
                                                        
                                                             Information related to SBC Proxy Sets.  | 
                                                    
| 
                                                             OnlinePstnGateway  | 
                                                        
                                                             string  | 
                                                        
                                                             Information related to OnlinePSTN Gateway of the SBC device attached to Calling Profiles (see Get Online PSTN Gateway.  | 
                                                    
| ■ | 409 Conflict | 
| 
                                                             Parameter  | 
                                                        
                                                             Type  | 
                                                        
                                                             Description/Examples  | 
                                                    
|---|---|---|
| 
                                                             errors  | 
                                                        
                                                             string  | 
                                                        Text description of the error. | 
| 
                                                             type  | 
                                                        
                                                             string  | 
                                                        
                                                             "https://tools.ietf.org/html/rfc7231#section-6.5.1"  | 
                                                    
| 
                                                             title  | 
                                                        
                                                             string  | 
                                                        
                                                             Email title. For example "One or more validation errors occurred."  | 
                                                    
| 
                                                             status  | 
                                                        
                                                             string  | 
                                                        
                                                             HTML error code i.e. 400  | 
                                                    
| 
                                                             detail  | 
                                                        
                                                             string  | 
                                                        
                                                             Additional error details.  | 
                                                    
| 
                                                             traceId  | 
                                                        
                                                             
  | 
                                                        
                                                             Error trace Id.  | 
                                                    
| 
                                                             instance  | 
                                                        
                                                             string  | 
                                                        
                                                             Error instance.  | 
                                                    
| 
                                                             Cac Profile  | 
                                                        
                                                             string  | 
                                                        
                                                             Information related to configured CAC sessions.  | 
                                                    
| 
                                                             ProxySet  | 
                                                        
                                                             string  | 
                                                        
                                                             Information related to SBC Proxy Sets.  | 
                                                    
| 
                                                             OnlinePstnGateway  | 
                                                        
                                                             string  | 
                                                        
                                                             Information related to OnlinePSTN Gateway of the SBC device attached to Calling Profiles (see Get Online PSTN Gateway.  | 
                                                    
| ■ | 500 Server Error |