{ "info": { "_postman_id": "392d39c7-3ea4-4766-b814-2fa8e443df7f", "name": "Managed Database for PostgreSQL and MySQL Access Control List Volumes API", "description": "Managed Database for PostgreSQL and MySQL provides fully-managed relational Database Instances, with MySQL or PostgreSQL as database engines. The resource allows you to focus on development rather than administration or configuration. It comes with a high-availability mode, data replication, and automatic backups.\n\nCompared to traditional database management, which requires customers to provide their infrastructure and resources to manage their databases, Managed Database for PostgreSQL and MySQL Instance offers the user access to Database Instances without setting up the hardware or configuring the software. Scaleway handles the provisioning, manages the configuration, and provides useful features as high availability, automated backup, user management, and more.\n\n\n\n\n## Concepts\n\nRefer to our [dedicated concepts page](https://www.scaleway.com/en/docs/managed-databases-for-postgresql-and-mysql/concepts/) to find definitions of the different terms referring to Managed Database for PostgreSQL and MySQL.\n\n\n\n\n## Quickstart\n\n1. Configure your environment variables.\n \n This is an optional step that seeks to simplify your usage of the APIs.\n \n\n ```bash\n export SCW_ACCESS_KEY=\"\"\n export SCW_SECRET_KEY=\"\"\n export SCW_REGION=\"\"\n ```\n2. Edit the POST request payload you will use to create your Database Instance. Replace the parameters in the following example:\n ```json\n '{\n \"project_id\": \"d8e65f2b-cce9-40b7-80fc-6a2902db6826\",\n \"name\": \"myDB\",\n \"engine\": \"PostgreSQL-15\",\n \"tags\": [\"donnerstag\"],\n \"is_ha_cluster\": true,\n \"node_type\": \"db-pro2-xxs\",\n \"disable_backup\": false,\n \"user_name\": \"my_initial_user\",\n \"password\": \"thiZ_is_v0ry_s3cret\",\n \"volume_type\": \"sbs_5k\",\n \"volume_size\": \"30000000000\"\n }'\n ```\n\n | Parameter | Description |\n | :--------------- |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n | `project_id` | The ID of the Project you want to create your Database Instance in. To find your Project ID you can **[list the projects](/api/account/project-api/#path-projects-list-all-projects-of-an-organization)** or consult the **[Scaleway console](https://console.scaleway.com/project/settings)**. |\n | `engine` | **REQUIRED** Version ID of the database engine. To check the list of available engines you can use the following endpoint: `https://api.scaleway.com/rdb/v1/regions/$SCW_REGION/database-engines` |\n | `name` | Name of the Database Instance |\n | `node_type` | **REQUIRED** The node type. To check the list of available node types you can use the following endpoint: `https://api.scaleway.com/rdb/v1/regions/$SCW_REGION/node-types` |\n | `is_ha_cluster` | **BOOLEAN** Defines whether High Availability is enabled for the Database Instance |\n | `disable_backup` | **BOOLEAN** Defines whether automated backups are disabled for the Database Instance |\n | `tags` | The list of tags `[\"tag1\", \"tag2\", ...]` that will be associated with the Database Instance. Tags can be appended to the query of the [List Database Instances](#path-database-instances-list-database-instances) call to show results for only the Database Instances using a specific tag. You can also combine tags to list Database Instances that possess all the appended tags. |\n | `user_name` | **REQUIRED** Identifier of the default user, which is created concurrently with the Database Instance |\n | `password` | **REQUIRED** Password for the default user |\n | `volume_type` | Type of volume where data is stored. You can specify either local volume (`lssd`) or block volume (`bssd`, `sbs_5k` or `sbs_15k`). The default value is `lssd` |\n | `volume_size` | Volume size when volume_type is `bssd`, `sbs_5k` or `sbs_15k`. The value should be expressed in bytes. For example 30GB is expressed as 30000000000 |\n3. Create a Database Instance by running the following command. Make sure you include the payload you edited in the previous step.\n ```bash\n curl -X POST \\\n -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\\n \"Content-Type: application/json\" \\\n https://api.scaleway.com/rdb/v1/regions/$SCW_REGION/instances \\\n -d '{\n \"project_id\": \"d8e65f2b-cce9-40b7-80fc-6a2902db6826\",\n \"name\": \"myDB\",\n \"engine\": \"PostgreSQL-15\",\n \"tags\": [\"donnerstag\"],\n \"is_ha_cluster\": true,\n \"node_type\": \"db-pro2-xxs\",\n \"disable_backup\": false,\n \"user_name\": \"my_initial_user\",\n \"password\": \"thiZ_is_v0ry_s3cret\",\n \"volume_type\": \"sbs_5k\",\n \"volume_size\": \"30000000000\"\n }'\n ```\n4. List your Database Instances.\n ```bash\n curl -X GET \\\n -H \"Content-Type: application/json\" \\\n -H \"X-Auth-Token: $SCW_SECRET_KEY\" https://api.scaleway.com/rdb/v1/regions/$SCW_REGION/instances\n ```\n\n You should get a response like the following:\n\n \n This is a response example, the UUIDs and IP address displayed are not real.\n \n\n ```json\n {\n \"id\": \"f5122f66-fb50-4cef-aa02-487ef4fc1af0\",\n \"name\": \"myDB\",\n \"organization_id\": \"895693aa-3915-4896-8761-c2923b008be7\",\n \"project_id\": \"d8e65f2b-cce9-40b7-80fc-6a2902db6826\",\n \"status\": \"ready\",\n \"engine\": \"PostgreSQL-15\",\n \"endpoint\": {\n \"ip\": \"198.51.100.0\",\n \"port\": 22245,\n \"name\": null\n },\n \"tags\": [\n \"donnerstag\"\n ],\n \"settings\": [],\n \"backup_schedule\": {\n \"frequency\": 24,\n \"retention\": 7,\n \"disabled\": true\n },\n \"is_ha_cluster\": true,\n \"read_replicas\": [],\n \"node_type\": \"db-pro2-xxs\",\n \"volume\": {\n \"type\": \"sbs_5k\",\n \"size\": 30000000000\n }\n \"created_at\": \"2019-04-19T16:24:52.591417Z\",\n \"region\": \"fr-par\"\n }\n ```\n5. Retrieve your Database Instance IP and port from the response.\n \n In the example above, the IP and port are `198.51.100.0` and `22245`, respectively.\n \n6. Connect to your Database Instance with the database client of the engine you selected.\n For MySQL, run the following command:\n ```bash\n mysql -h --port -p -u \n ```\n\n For PostgreSQL, run:\n ```bash\n psql -h -p -U -d rdb\n ```\n\n For the recurring example, the command would look like:\n\n ```bash\n psql -h 198.51.100.0 -p 22245 -U my_initial_user -d rdb\n ```\n7. Enter the database password that you defined upon creation.\n\nYou are now connected to your Managed Database.\n\n\n\nTo perform the following steps, you must first ensure that:\n - you have an account and are logged into the [Scaleway console](https://console.scaleway.com/organization)\n - you have created an [API key](https://www.scaleway.com/en/docs/iam/how-to/create-api-keys/) and that the API key has sufficient [IAM permissions](https://www.scaleway.com/en/docs/iam/reference-content/permission-sets/) to perform the actions described on this page.\n - you have [installed `curl`](https://curl.se/download.html)\n\n\n\n## Technical Information\n\n### Regions\n\nScaleway's infrastructure is spread across different [regions and Availability Zones](https://www.scaleway.com/en/docs/account/reference-content/products-availability/).\n\nManaged Database for PostgreSQL and MySQL is available in the Paris, Amsterdam and Warsaw regions, which are represented by the following path parameters:\n\n- `fr-par`\n- `nl-ams`\n- `pl-waw`\n\n### PostgreSQL specifications\n\n#### Versions\n\nScaleway Database for PostgreSQL supports PostgreSQL versions 11, 12, 13, 14 and 15.\n\n#### System\n\nDifferent modules are available for installation, including TimescaleDB and PostGIS. Refer to the [Managed Database for PostgreSQL and MySQL FAQ page](https://www.scaleway.com/en/docs/managed-databases-for-postgresql-and-mysql/faq/#which-postgresql-extensions-are-available) for an extensive list of PostgreSQL extensions.\n\n#### Database Management\n\nYou can create logical databases through the Scaleway console, the Scaleway APIs or SQL.\n\n- databases created using the Scaleway console or the API are owned by an internal system user. These are called \"managed databases\".\n- databases created using SQL will be owned by the creator. These are called \"unmanaged databases\".\n\n### MySQL specifications\n\n#### Versions\n\nScaleway Database for MySQL supports MySQL 8.\n\n#### System\n\n- only the [InnoDB engine](https://dev.mysql.com/doc/refman/8.0/en/innodb-storage-engine.html) is supported\n- the [Global Transaction Identifier (GTID)](https://dev.mysql.com/doc/refman/8.0/en/replication-gtids-concepts.html) is enabled.\n- [`mysql_native_password`](https://dev.mysql.com/doc/refman/8.0/en/native-pluggable-authentication.html) (default) and [`caching_sha2_password`](https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-authentication.html) authentication are supported.\n\n#### User Management\n\n- users with an `admin` role have access to all logical databases and can create new ones.\n- users created via the API are authenticated using the default authentication plugin, which can be changed in the settings.\n\n## Technical Limitations\n\n### PostgreSQL\n\n#### User Management\n\n- users with an `admin` role have `CREATEROLE` and `CREATEDB` privileges.\n- users do NOT have `SUPERUSER` nor `REPLICATION` privileges.\n- permission management through the Scaleway console or API is only possible for the \"managed databases\".\n\n#### Backup and restoration\n\nDatabases that have been backed up and then restored retain the user permission settings in use at the time of backup. If you delete users after backup and then restore your backup in the same database, or if you restore a backup to a different database with different or no users, the permissions configured for them continue to exist, but with no associated owner. This error will put a stop to the restoration process.\n\nTo avoid this issue, we recommend you re-create the users you deleted. In the occasion you restore the backup to a new database, you must create new users with the same names.\n\n## Going Further\n\nFor more information about Managed Database for PostgreSQL and MySQL, you can check out the following pages:\n\n* [Managed Database for PostgreSQL and MySQL Documentation](https://www.scaleway.com/en/docs/managed-databases/postgresql-and-mysql/)\n* [Managed Database for PostgreSQL and MySQL FAQ](https://www.scaleway.com/en/docs/managed-databases-for-postgresql-and-mysql/faq/)\n* [Scaleway Slack Community](https://scaleway-community.slack.com/) join the #database channel\n* [Contact our support team](https://console.scaleway.com/support/tickets)\n\n### How to migrate a database\n\nIf you wish to migrate existing databases to a Managed Database for PostgreSQL or MySQL, you can refer to the [Migrating existing databases to a Database Instance](https://www.scaleway.com/en/docs/tutorials/migrate-databases-instance/) tutorial page.\n\n### Troubleshoooting\n\n#### Disk full status\n\nIf your Database Instance uses local storage, your local volume might eventually approach full capacity and shift to `disk_full` mode. This mode grants you enough space to either [upgrade your node type](https://www.scaleway.com/en/docs/managed-databases-for-postgresql-and-mysql/how-to/upgrade-version/#how-to-change-the-node-type) or [clear out space in your volume](https://www.scaleway.com/en/docs/managed-databases-for-postgresql-and-mysql/troubleshooting/disk-full/).", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T02:54:36.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "lastUpdatedBy": "35240", "uid": "35240-392d39c7-3ea4-4766-b814-2fa8e443df7f" }, "item": [ { "name": "instance", "item": [ { "name": "v1", "item": [ { "name": "zones", "item": [ { "name": "{zone}", "item": [ { "name": "block-migration", "item": [ { "name": "apply", "item": [ { "name": "Migrate a volume and/or snapshots to SBS (Scaleway Block Storage)", "id": "d02e8773-0979-4f00-a00b-4d44dd35ce59", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "X-Auth-Token", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"validation_key\": \"\",\n \"volume_id\": \"\",\n \"snapshot_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/block-migration/apply", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "block-migration", "apply" ], "variable": [ { "id": "5e9273d9-72e7-4b49-9202-578ae1cdbd10", "key": "zone", "value": "pl-waw-1", "description": "(Required) The zone you want to target" } ] }, "description": "To be used, the call to this endpoint must be preceded by a call to the [Get a volume or snapshot's migration plan](#path-volumes-get-a-volume-or-snapshots-migration-plan) endpoint. To migrate all resources mentioned in the migration plan, the validation_key returned in the plan must be provided." }, "response": [ { "id": "f5c2d485-243d-4710-be85-261d9959059c", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-Auth-Token", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"validation_key\": \"\",\n \"volume_id\": \"\",\n \"snapshot_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/block-migration/apply", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "block-migration", "apply" ], "variable": [ { "key": "zone" } ] } }, "status": "No Content", "code": 204, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-f5c2d485-243d-4710-be85-261d9959059c" } ], "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-d02e8773-0979-4f00-a00b-4d44dd35ce59" } ], "id": "ed0280d8-7e4f-4510-99a8-402ab739a4b5", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-ed0280d8-7e4f-4510-99a8-402ab739a4b5" }, { "name": "plan", "item": [ { "name": "Get a volume or snapshot's migration plan", "id": "77244bb9-796c-492e-bd2b-bf9405f0db57", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "X-Auth-Token", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"volume_id\": \"\",\n \"snapshot_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/block-migration/plan", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "block-migration", "plan" ], "variable": [ { "id": "0845cef4-a0ae-4412-98f6-fcbec26ab00f", "key": "zone", "value": "pl-waw-1", "description": "(Required) The zone you want to target" } ] }, "description": "Given a volume or snapshot, returns the migration plan but does not perform the actual migration. To perform the migration, you have to call the [Migrate a volume and/or snapshots to SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage) endpoint afterward.\nThe endpoint returns the resources that should be migrated together:\n- the volume and any snapshots created from the volume, if the call was made to plan a volume migration.\n- the base volume of the snapshot (if the volume is not deleted) and its related snapshots, if the call was made to plan a snapshot migration.\nThe endpoint also returns the validation_key, which must be provided to the [Migrate a volume and/or snapshots to SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage) endpoint to confirm that all resources listed in the plan should be migrated." }, "response": [ { "id": "d8d1281e-3588-44cc-9546-f2e6bba8cf22", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-Auth-Token", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"volume_id\": \"\",\n \"snapshot_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/block-migration/plan", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "block-migration", "plan" ], "variable": [ { "key": "zone" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"volume\": {\n \"id\": \"\",\n \"name\": \"\",\n \"export_uri\": \"\",\n \"size\": \"\",\n \"volume_type\": \"l_ssd\",\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"server\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"state\": \"available\",\n \"zone\": \"\"\n },\n \"snapshots\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"volume_type\": \"l_ssd\",\n \"size\": \"\",\n \"state\": \"available\",\n \"base_volume\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"zone\": \"\",\n \"error_reason\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"volume_type\": \"l_ssd\",\n \"size\": \"\",\n \"state\": \"available\",\n \"base_volume\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"zone\": \"\",\n \"error_reason\": \"\"\n }\n ],\n \"validation_key\": \"\"\n}", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-d8d1281e-3588-44cc-9546-f2e6bba8cf22" } ], "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-77244bb9-796c-492e-bd2b-bf9405f0db57" } ], "id": "5144b71a-b88d-4d5a-b703-c9fe09404a82", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-5144b71a-b88d-4d5a-b703-c9fe09404a82" } ], "id": "f556023c-c492-4cde-ab61-f55f0fef8c62", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-f556023c-c492-4cde-ab61-f55f0fef8c62" }, { "name": "volumes", "item": [ { "name": "{id}", "item": [ { "name": "Update volume", "id": "148b3766-1f79-4b91-830b-976e386c0dfd", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "X-Auth-Token", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"export_uri\": \"\",\n \"size\": \"\",\n \"volume_type\": \"l_ssd\",\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"server\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"state\": \"available\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes/:id", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes", ":id" ], "variable": [ { "id": "274f56e1-0c20-40a1-ae0d-0eb6bfc4c611", "key": "zone", "value": "pl-waw-1", "description": "(Required) The zone you want to target" }, { "id": "5f465041-2fff-4d10-ae23-5c97153d224b", "key": "id", "value": "", "description": "(Required) Unique ID of the volume." } ] }, "description": "Replace all volume properties with a volume message." }, "response": [ { "id": "bee623b1-370a-428d-bfa5-522b6dfbe74b", "name": "New Response", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-Auth-Token", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"export_uri\": \"\",\n \"size\": \"\",\n \"volume_type\": \"l_ssd\",\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"server\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"state\": \"available\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes/:id", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes", ":id" ], "variable": [ { "key": "zone" }, { "key": "id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"volume\": {\n \"id\": \"\",\n \"name\": \"\",\n \"export_uri\": \"\",\n \"size\": \"\",\n \"volume_type\": \"l_ssd\",\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"server\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"state\": \"available\",\n \"zone\": \"\"\n }\n}", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-bee623b1-370a-428d-bfa5-522b6dfbe74b" } ], "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-148b3766-1f79-4b91-830b-976e386c0dfd" } ], "id": "7095f7f6-720a-45b0-88b7-a92a43001b07", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-7095f7f6-720a-45b0-88b7-a92a43001b07" }, { "name": "{volume_id}", "item": [ { "name": "Get a volume", "id": "cffa3ec6-e1fc-4929-a859-607744cc01ee", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "X-Auth-Token", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes/:volume_id", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes", ":volume_id" ], "variable": [ { "id": "d9019c66-378b-408e-9873-5cfe76fc0b2d", "key": "zone", "value": "pl-waw-1", "description": "(Required) The zone you want to target" }, { "id": "cd461d4d-d308-4470-b1c4-3dc14d0010d7", "key": "volume_id", "value": "", "description": "(Required) UUID of the volume you want to get." } ] }, "description": "Get details of a volume with the specified ID." }, "response": [ { "id": "46986de5-a7bd-4434-b510-e8792ecf76e5", "name": "New Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-Auth-Token", "value": "" } ], "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes/:volume_id", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes", ":volume_id" ], "variable": [ { "key": "zone" }, { "key": "volume_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"volume\": {\n \"id\": \"\",\n \"name\": \"\",\n \"export_uri\": \"\",\n \"size\": \"\",\n \"volume_type\": \"l_ssd\",\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"server\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"state\": \"available\",\n \"zone\": \"\"\n }\n}", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-46986de5-a7bd-4434-b510-e8792ecf76e5" } ], "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-cffa3ec6-e1fc-4929-a859-607744cc01ee" }, { "name": "Update a volume", "id": "a0f1ebb7-afff-4c93-a935-37fb45a52d61", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "X-Auth-Token", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"size\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes/:volume_id", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes", ":volume_id" ], "variable": [ { "id": "25184e48-4666-448d-a8db-04d52ee10076", "key": "zone", "value": "pl-waw-1", "description": "(Required) The zone you want to target" }, { "id": "0a7e954a-5f5e-4776-9f5f-5b2ddb66c042", "key": "volume_id", "value": "", "description": "(Required) UUID of the volume." } ] }, "description": "Replace the name and/or size properties of a volume specified by its ID, with the specified value(s)." }, "response": [ { "id": "af0a07db-8ff9-4d66-aa0c-448431d3dc3b", "name": "New Response", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-Auth-Token", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"size\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes/:volume_id", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes", ":volume_id" ], "variable": [ { "key": "zone" }, { "key": "volume_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"volume\": {\n \"id\": \"\",\n \"name\": \"\",\n \"export_uri\": \"\",\n \"size\": \"\",\n \"volume_type\": \"l_ssd\",\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"server\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"state\": \"available\",\n \"zone\": \"\"\n }\n}", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-af0a07db-8ff9-4d66-aa0c-448431d3dc3b" } ], "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-a0f1ebb7-afff-4c93-a935-37fb45a52d61" }, { "name": "Delete a volume", "id": "e1d78820-6a18-42c0-9154-b1f1bbf73b8c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "X-Auth-Token", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "method": "DELETE", "header": [], "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes/:volume_id", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes", ":volume_id" ], "variable": [ { "id": "bdf97a15-a78d-4a7f-b3e1-a85a37abe3c8", "key": "zone", "value": "pl-waw-1", "description": "(Required) The zone you want to target" }, { "id": "fe1aef54-2b3f-4a4a-b705-dde7574a76d0", "key": "volume_id", "value": "", "description": "(Required) UUID of the volume you want to delete." } ] }, "description": "Delete the volume with the specified ID." }, "response": [ { "id": "ca4c4d59-8596-49f7-b28d-68d023bd717e", "name": "New Response", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: apikey", "key": "X-Auth-Token", "value": "" } ], "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes/:volume_id", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes", ":volume_id" ], "variable": [ { "key": "zone" }, { "key": "volume_id" } ] } }, "status": "No Content", "code": 204, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-ca4c4d59-8596-49f7-b28d-68d023bd717e" } ], "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-e1d78820-6a18-42c0-9154-b1f1bbf73b8c" } ], "id": "66f23a63-ea8a-42e7-8518-2d8655b17adf", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-66f23a63-ea8a-42e7-8518-2d8655b17adf" }, { "name": "List volumes", "id": "de242f10-0e97-465c-a87c-6c953b413b6d", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "X-Auth-Token", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes?volume_type=l_ssd&per_page=&page=&organization=&project=&tags=&name=", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes" ], "query": [ { "description": "Filter by volume type.", "key": "volume_type", "value": "l_ssd" }, { "description": "A positive integer lower or equal to 100 to select the number of items to return.", "key": "per_page", "value": "" }, { "description": "A positive integer to choose the page to return.", "key": "page", "value": "" }, { "description": "Filter volume by Organization ID.", "key": "organization", "value": "" }, { "description": "Filter volume by Project ID.", "key": "project", "value": "" }, { "description": "Filter volumes with these exact tags (to filter with several tags, use commas to separate them).", "key": "tags", "value": "" }, { "description": "Filter volume by name (for eg. \"vol\" will return \"myvolume\" but not \"data\").", "key": "name", "value": "" } ], "variable": [ { "id": "464275a1-2435-4ba5-aa05-0d37b457bc15", "key": "zone", "value": "pl-waw-1", "description": "(Required) The zone you want to target" } ] }, "description": "List volumes in the specified Availability Zone. You can filter the output by volume type." }, "response": [ { "id": "5eb34af1-efc2-4704-a06f-264085905cf1", "name": "New Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-Auth-Token", "value": "" } ], "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes?volume_type=l_ssd&per_page=&page=&organization=&project=&tags=&name=", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes" ], "query": [ { "description": "Filter by volume type.", "key": "volume_type", "value": "l_ssd" }, { "description": "A positive integer lower or equal to 100 to select the number of items to return.", "key": "per_page", "value": "" }, { "description": "A positive integer to choose the page to return.", "key": "page", "value": "" }, { "description": "Filter volume by Organization ID.", "key": "organization", "value": "" }, { "description": "Filter volume by Project ID.", "key": "project", "value": "" }, { "description": "Filter volumes with these exact tags (to filter with several tags, use commas to separate them).", "key": "tags", "value": "" }, { "description": "Filter volume by name (for eg. \"vol\" will return \"myvolume\" but not \"data\").", "key": "name", "value": "" } ], "variable": [ { "key": "zone" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"volumes\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"export_uri\": \"\",\n \"size\": \"\",\n \"volume_type\": \"l_ssd\",\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"server\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"state\": \"available\",\n \"zone\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"export_uri\": \"\",\n \"size\": \"\",\n \"volume_type\": \"l_ssd\",\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"server\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"state\": \"available\",\n \"zone\": \"\"\n }\n ]\n}", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-5eb34af1-efc2-4704-a06f-264085905cf1" } ], "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-de242f10-0e97-465c-a87c-6c953b413b6d" }, { "name": "Create a volume", "id": "8037c0da-e8ee-42cb-9111-713b84784a3b", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "X-Auth-Token", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"volume_type\": \"l_ssd\",\n \"size\": \"\",\n \"base_snapshot\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes" ], "variable": [ { "id": "00ac68b9-9761-411e-a1c8-7e92b9dae606", "key": "zone", "value": "pl-waw-1", "description": "(Required) The zone you want to target" } ] }, "description": "Create a volume of a specified type in an Availability Zone." }, "response": [ { "id": "559cbdd6-86be-472f-89a8-c006ae94313d", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "X-Auth-Token", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"volume_type\": \"l_ssd\",\n \"size\": \"\",\n \"base_snapshot\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/instance/v1/zones/:zone/volumes", "host": [ "{{baseUrl}}" ], "path": [ "instance", "v1", "zones", ":zone", "volumes" ], "variable": [ { "key": "zone" } ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"volume\": {\n \"id\": \"\",\n \"name\": \"\",\n \"export_uri\": \"\",\n \"size\": \"\",\n \"volume_type\": \"l_ssd\",\n \"creation_date\": \"\",\n \"modification_date\": \"\",\n \"organization\": \"\",\n \"project\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ],\n \"server\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"state\": \"available\",\n \"zone\": \"\"\n }\n}", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-559cbdd6-86be-472f-89a8-c006ae94313d" } ], "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-8037c0da-e8ee-42cb-9111-713b84784a3b" } ], "id": "62326f33-86db-4600-93d8-f28dfdd8ca3e", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-62326f33-86db-4600-93d8-f28dfdd8ca3e" } ], "id": "6238bdf2-73e5-46dd-8daf-a08be24de6c1", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-6238bdf2-73e5-46dd-8daf-a08be24de6c1" } ], "id": "59648f8c-46f1-4788-8ea0-e3ec9ca2d663", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-59648f8c-46f1-4788-8ea0-e3ec9ca2d663" } ], "id": "a102f2a2-f37b-4701-86fd-c93f3433717f", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-a102f2a2-f37b-4701-86fd-c93f3433717f" } ], "id": "da2ca39f-9a1b-4aca-bb97-62d1887e4cc2", "createdAt": "2026-07-28T02:54:37.000Z", "updatedAt": "2026-07-28T02:54:37.000Z", "uid": "35240-da2ca39f-9a1b-4aca-bb97-62d1887e4cc2" } ], "variable": [ { "key": "baseUrl", "value": "https://api.scaleway.com" } ] }