Delete Service
servicediscovery_delete_service | R Documentation |
Deletes a specified service and all associated service attributes¶
Description¶
Deletes a specified service and all associated service attributes. 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)