aptible endpoints:deprovision

This command lets you deprovision an App Endpoint or a Database Endpoint.

Examples

In the examples below, $ENDPOINT_HOSTNAME references the Endpoint Hostname for the Endpoint you’d like to deprovision.

Tip

Use the aptible endpoints:list command to easily locate the Endpoint Hostname for a given Endpoint.

Deprovision an App Endpoint

aptible endpoints:deprovision \
        --app "$APP_HANDLE" \
        "$ENDPOINT_HOSTNAME"

Deprovision a Database Endpoint

aptible endpoints:deprovision \
        --database "$DATABASE_HANDLE" \
        "$ENDPOINT_HOSTNAME"

Synopsis

Usage:
  aptible endpoints:deprovision [--app APP | --database DATABASE] ENDPOINT_HOSTNAME

Options:
      [--app=APP]
      [--environment=ENVIRONMENT]
  -r, [--remote=REMOTE]
      [--database=DATABASE]

Deprovision an App or Database Endpoint