curl --request GET \
--url https://api.cnap.tech/v1/compute/suspensions \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"workspace_id": "<string>",
"cluster_id": "<string>",
"server_type": "cpx31",
"location": "fsn1",
"hostname": "cnap-xl8r2abc",
"reason": "manual",
"provider_suspend_data": {
"provider": "<string>",
"snapshot_id": 123,
"size_gb": 123
},
"monthly_cost_cents": 123,
"expires_at": 123,
"created_at": 123
}
]Lists all suspended machines for the workspace.
curl --request GET \
--url https://api.cnap.tech/v1/compute/suspensions \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"workspace_id": "<string>",
"cluster_id": "<string>",
"server_type": "cpx31",
"location": "fsn1",
"hostname": "cnap-xl8r2abc",
"reason": "manual",
"provider_suspend_data": {
"provider": "<string>",
"snapshot_id": 123,
"size_gb": 123
},
"monthly_cost_cents": 123,
"expires_at": 123,
"created_at": 123
}
]Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://cnap.tech/account/tokens
List of suspensions
"cpx31"
"fsn1"
"cnap-xl8r2abc"
manual, downgrade Show child attributes