Deprovision Container Edge Function
Handles the complete deletion of an SGTM container and all associated resources including infrastructure, custom domains, sites, and data.
POST /deprovision_container
Required - JWT in Authorization header
This is a destructive operation that performs the following cleanup steps:
Tables touched:
External services:
{ "container_id": "uuid" } Copy
{ "container_id": "uuid" }
200 - Success with container details
400 - Missing container_id
401 - Missing authorization header
404 - Container not found or access denied
500 - Internal server error
Fileoverview
Deprovision Container Edge Function
Handles the complete deletion of an SGTM container and all associated resources including infrastructure, custom domains, sites, and data.
Endpoint
POST /deprovision_container
Auth
Required - JWT in Authorization header
Remarks
This is a destructive operation that performs the following cleanup steps:
Tables touched:
External services:
Example: Request body
Returns
200 - Success with container details
Returns
400 - Missing container_id
Returns
401 - Missing authorization header
Returns
404 - Container not found or access denied
Returns
500 - Internal server error