HEX
Server: Apache
System: Linux vps28526 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
User: heewonvps_17 (6705002)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/ecs/delete-service.rst
**To delete a service**

The following ``ecs delete-service`` example deletes the specified service from a cluster. You can include the ``--force`` parameter to delete a service even if it has not been scaled to zero tasks. ::

    aws ecs delete-service --cluster MyCluster --service MyService1 --force

For more information, see `Deleting a Service <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/delete-service.html>`_ in the *Amazon ECS Developer Guide*.