delete-service

Description

Delete the service. You can’t cancel the deletion of the service.

Notes

If there is an endpoint associated with the service, the service can’t be deleted unless the endpoint is deleted first.

Synopsis

$ abeja model delete-service [--help]
Usage: abeja model delete-service [OPTIONS]

  Delete service

Options:
  -d, --deployment_id TEXT  Deployment identifier  [required]
  -s, --service_id TEXT     Service identifier  [required]
  --help                    Show this message and exit.

Options

-d, --deployment_id

Specify deployment_id when create-deployment is created.

-s, --service_id

Specify service_id when create-service is created.

Example

Delete the service.

Command:

$ abeja model delete-service --deployment_id 3456789012345 --service_id ser-4567890123456

Output:

{
  "message": "ser-4567890123456 deleted"
}