{ "opencollection": "1.0.0", "info": { "name": "Hetzner Cloud Actions Volume Actions API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Volume Actions", "type": "folder" }, "items": [ { "info": { "name": "List Actions", "type": "http" }, "http": { "method": "GET", "url": "https://api.hetzner.cloud/v1/volumes/actions", "params": [ { "name": "id", "value": "", "type": "query", "description": "Filter the actions by ID. May be used multiple times.\n\nThe response will only contain actions matching the specified IDs.\n" }, { "name": "sort", "value": "", "type": "query", "description": "Sort actions by field and direction. May be used multiple times.\n\nFor more information, see \"[Sorting](#description/sorting)\".\n" }, { "name": "status", "value": "", "type": "query", "description": "Filter the actions by status. May be used multiple times.\n\nThe response will only contain actions matching the specified statuses.\n" }, { "name": "page", "value": "", "type": "query", "description": "Page number to return. For more information, see \"[Pagination](#description/pagination)\"." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of entries returned per page. For more information, see \"[Pagination](#description/pagination)\"." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns all Action objects. You can `sort` the results by using the sort URI parameter, and filter them with the `status` and `id` parameter.\n" }, { "info": { "name": "Get an Action", "type": "http" }, "http": { "method": "GET", "url": "https://api.hetzner.cloud/v1/volumes/actions/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Action." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a specific Action object.\n" }, { "info": { "name": "List Actions for a Volume", "type": "http" }, "http": { "method": "GET", "url": "https://api.hetzner.cloud/v1/volumes/:id/actions", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Volume." }, { "name": "sort", "value": "", "type": "query", "description": "Sort actions by field and direction. May be used multiple times.\n\nFor more information, see \"[Sorting](#description/sorting)\".\n" }, { "name": "status", "value": "", "type": "query", "description": "Filter the actions by status. May be used multiple times.\n\nThe response will only contain actions matching the specified statuses.\n" }, { "name": "page", "value": "", "type": "query", "description": "Page number to return. For more information, see \"[Pagination](#description/pagination)\"." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of entries returned per page. For more information, see \"[Pagination](#description/pagination)\"." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns all Action objects for a Volume. You can `sort` the results by using the sort URI parameter, and filter them with the `status` parameter.\n" }, { "info": { "name": "Attach Volume to a Server", "type": "http" }, "http": { "method": "POST", "url": "https://api.hetzner.cloud/v1/volumes/:id/actions/attach", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Volume." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Attaches a Volume to a Server. Works only if the Server is in the same Location as the Volume.\n" }, { "info": { "name": "Change Volume Protection", "type": "http" }, "http": { "method": "POST", "url": "https://api.hetzner.cloud/v1/volumes/:id/actions/change_protection", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Volume." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Changes the protection configuration of a Volume.\n" }, { "info": { "name": "Detach Volume", "type": "http" }, "http": { "method": "POST", "url": "https://api.hetzner.cloud/v1/volumes/:id/actions/detach", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Volume." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Detaches a Volume from the Server it’s attached to. You may attach it to a Server again at a later time.\n" }, { "info": { "name": "Resize Volume", "type": "http" }, "http": { "method": "POST", "url": "https://api.hetzner.cloud/v1/volumes/:id/actions/resize", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Volume." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Changes the size of a Volume. Note that downsizing a Volume is not possible.\n" }, { "info": { "name": "Get an Action for a Volume", "type": "http" }, "http": { "method": "GET", "url": "https://api.hetzner.cloud/v1/volumes/:id/actions/:action_id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Volume." }, { "name": "action_id", "value": "", "type": "path", "description": "ID of the Action." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "**Deprecated**: This operation is deprecated, see our [changelog](https://docs.hetzner.cloud/changelog#2026-04-30-deprecate-get-resource-action-endpoints) for more details.\n\nReturns a specific Action for a Volume.\n" } ] } ], "bundled": true }