Aptible PaaS logoDocs
Reference

aptible endpoints:deprovision

This command deprovisions an App Endpoint or a Database Endpoint.

Synopsis

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

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

Examples

The examples below $ENDPOINT_HOSTNAME reference the Endpoint Hostname for the Endpoint you'd like to deprovision.

📘 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"