Sinch Node.js SDK - v1.6.0
    Preparing search index...

    Class VoiceV2ServicesApi

    Index

    Methods

    • Delete a voice service by ID Deletes a service permanently.

      The default service cannot be deleted. To delete the current default service, a different service must first be designated as the default using the update endpoint.

      Parameters

      Returns Promise<void>

    • Update a voice service Updates an existing service resource with the provided properties. Only the fields included in the request body will be modified; omitted fields remain unchanged.

      To set a service as the default for the project, include "isDefault": true in the request. Each project can have only one default service. "isDefault": false is invalid and will not be accepted by the API.

      Parameters

      Returns Promise<Voice.v2.ServiceResponse>