Skip to content

Method: projects.sipDomains.create

Creates a sip domain.

The caller must have voice.sipDomains.create permission on the project.

HTTP request

POST https://voice.api.enfonica.com/v1beta1/{parent}/sipDomains

Path parameters

Parameters  
parent string
The project under which to create the sip domain in the form projects/*.

Query parameters

Parameters  
sipDomainId string
The subdomain component of the SIP domain. This is the {sip_domain_id} value from name and can only be set on create. The FQDN of the SIP domain will be .sip.enfonica.com.

This value must be globally unique. If the identifier already exists, the create method will fail with ALREADY_EXISTS.

This must be lowercase alpha-numeric or hyphens and must start and end with an alpha-numeric character, and must be a minimum of 2 and maximum of 30 characters. This is captured in the following regular expression: ^[a-z0-9][a-z0-9-]{0,28}[a-z0-9]$ Can only be set on create.

Request body

The request body must contain an instance of SipDomain.

Response body

If successful, the response body contains an instance of SipDomain.