Skip to content

Delete a voice service by ID

Request

Deletes a service permanently.

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

Security
BasicAuth or SinchOAuth2
Path
projectIdstring, (uuid)(Project ID)required

The ID of the project.

Example:5c5bf2b1-35ae-4825-ab89-457e07bb60e6
serviceIdstring, (uuid)(Service ID)required

The ID of the service.

Example:6e124178-c29d-46a5-943c-5c2ae544aade
curl -i -X DELETE \
  -u '<username>:<password>' \
  'https://voice.api.sinch.com/v2/projects/{projectId}/services/{serviceId}'

Responses

Service deleted

Response
No content