Delete Autoscaling
Much in the way you can add and edit disk auto-scaling policies, you can also delete them if they’re no longer needed.
Delete Disk Autoscaling
Provide the API with both a cluster slug and a disk ID to get rid of the auto-scaling.
- Curl
- Python
curl -X 'DELETE' \
'https://api.gigapipe.com/v1/clusters/<your_cluster_slug>/disks/<your_disk_id>/autoscale' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_access_token>'
}'
# Payload response ::Dictionary
{
"message": "Disk autoscaling successfully deleted for disk: <1>"
}
response = gigapipe_client.clusters.delete_autoscaling("your_cluster_slug", disk_id=1)
# Payload response ::Dictionary
{
"message": "Disk autoscaling successfully deleted for disk: <1>"
}
Autoscaling payload
Attributes
id ::Integer
The ID of the disk which you want to delete the auto-scaling for
Autoscaling response
Attributes
message ::String
A basic response message