Skip to content

Delete Service

servicediscovery_delete_service R Documentation

Deletes a specified service

Description

Deletes a specified service. If the service still contains one or more registered instances, the request fails.

Usage

servicediscovery_delete_service(Id)

Arguments

Id

[required] The ID of the service that you want to delete.

Value

An empty list.

Request syntax

svc$delete_service(
  Id = "string"
)

Examples

## Not run: 
# Example: Delete service
svc$delete_service(
  Id = "srv-p5zdwlg5uvvzjita"
)

## End(Not run)