{ "info": { "_postman_id": "d45fe134-c377-4191-a72b-0eb070bff3a2", "name": "Managed Database for PostgreSQL and MySQL Access Control List Groups 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:52:10.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "lastUpdatedBy": "35240", "uid": "35240-d45fe134-c377-4191-a72b-0eb070bff3a2" }, "item": [ { "name": "iam", "item": [ { "name": "v1alpha1", "item": [ { "name": "groups", "item": [ { "name": "{group_id}", "item": [ { "name": "add-member", "item": [ { "name": "Add a user or an application to a group", "id": "20123b4c-80e4-4c51-8304-f304db230467", "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 \"user_id\": \"\",\n \"application_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id/add-member", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id", "add-member" ], "variable": [ { "id": "7c453f67-8b6c-4fee-89a1-73fc21c6fe77", "key": "group_id", "value": "", "description": "(Required) ID of the group." } ] }, "description": "Add a user or an application to a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only add one of each per request." }, "response": [ { "id": "2e915b92-656f-442e-8190-4ad0d5f8e6f4", "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 \"user_id\": \"\",\n \"application_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id/add-member", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id", "add-member" ], "variable": [ { "key": "group_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"editable\": \"\",\n \"deletable\": \"\",\n \"managed\": \"\"\n}", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-2e915b92-656f-442e-8190-4ad0d5f8e6f4" } ], "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-20123b4c-80e4-4c51-8304-f304db230467" } ], "id": "dfa4fcf1-3621-4dd5-ad84-c9ab60249008", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-dfa4fcf1-3621-4dd5-ad84-c9ab60249008" }, { "name": "add-members", "item": [ { "name": "Add multiple users and applications to a group", "id": "d6031f55-32c1-42d3-b588-95e8b4727949", "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 \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id/add-members", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id", "add-members" ], "variable": [ { "id": "fac49d34-a0a0-4b11-965f-d2ffcf3cdede", "key": "group_id", "value": "", "description": "(Required) ID of the group." } ] }, "description": "Add multiple users and applications to a group in a single call. You can specify an array of `user_id`s and `application_id`s. Note that any existing users and applications in the group will remain. To add new users/applications and delete pre-existing ones, use the [Overwrite users and applications of a group](#path-groups-overwrite-users-and-applications-of-a-group) method." }, "response": [ { "id": "db0654f3-e54f-4cb3-af84-8ed6461291d6", "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 \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id/add-members", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id", "add-members" ], "variable": [ { "key": "group_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"editable\": \"\",\n \"deletable\": \"\",\n \"managed\": \"\"\n}", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-db0654f3-e54f-4cb3-af84-8ed6461291d6" } ], "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-d6031f55-32c1-42d3-b588-95e8b4727949" } ], "id": "e7e1372e-6259-4cdc-a6fc-0bab43f06d0d", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-e7e1372e-6259-4cdc-a6fc-0bab43f06d0d" }, { "name": "members", "item": [ { "name": "Overwrite users and applications of a group", "id": "b902a19b-9299-444d-a633-595d47bdde56", "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 \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id/members", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id", "members" ], "variable": [ { "id": "e6ca48d8-afee-47db-853b-7b9a80485aff", "key": "group_id", "value": "", "description": "(Required) " } ] }, "description": "Overwrite users and applications configuration in a group. Any information that you add using this command will overwrite the previous configuration." }, "response": [ { "id": "4126adef-c01f-4504-a0f7-967ae39b059f", "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 \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id/members", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id", "members" ], "variable": [ { "key": "group_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"editable\": \"\",\n \"deletable\": \"\",\n \"managed\": \"\"\n}", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-4126adef-c01f-4504-a0f7-967ae39b059f" } ], "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-b902a19b-9299-444d-a633-595d47bdde56" } ], "id": "662bf7c4-5679-45e9-a118-5535959c1e02", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-662bf7c4-5679-45e9-a118-5535959c1e02" }, { "name": "remove-member", "item": [ { "name": "Remove a user or an application from a group", "id": "6d446c7c-17be-48bc-a1b0-886b84b32cdf", "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 \"user_id\": \"\",\n \"application_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id/remove-member", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id", "remove-member" ], "variable": [ { "id": "1f11b7c8-aebc-4eec-a1a9-90cc09277671", "key": "group_id", "value": "", "description": "(Required) ID of the group." } ] }, "description": "Remove a user or an application from a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only remove one of each per request. Removing a user from a group means that any permissions given to them via the group (i.e. from an attached policy) will no longer apply. Be sure you want to remove these permissions from the user before proceeding." }, "response": [ { "id": "a87c3817-0c88-4312-9948-ac3efa50cc60", "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 \"user_id\": \"\",\n \"application_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id/remove-member", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id", "remove-member" ], "variable": [ { "key": "group_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"editable\": \"\",\n \"deletable\": \"\",\n \"managed\": \"\"\n}", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-a87c3817-0c88-4312-9948-ac3efa50cc60" } ], "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-6d446c7c-17be-48bc-a1b0-886b84b32cdf" } ], "id": "c197f4ee-e3cd-4816-bbfb-fe6b18d6077d", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-c197f4ee-e3cd-4816-bbfb-fe6b18d6077d" }, { "name": "Get a group", "id": "3a8de5a3-db66-4bff-83b5-c7bc9f43cd3b", "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}}/iam/v1alpha1/groups/:group_id", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id" ], "variable": [ { "id": "5a82177b-9910-486e-b72f-b2eb43c2f69b", "key": "group_id", "value": "", "description": "(Required) ID of the group." } ] }, "description": "Retrieve information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response." }, "response": [ { "id": "25088d9e-fb47-4a44-b46e-e4b8c35e79c3", "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}}/iam/v1alpha1/groups/:group_id", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id" ], "variable": [ { "key": "group_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"editable\": \"\",\n \"deletable\": \"\",\n \"managed\": \"\"\n}", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-25088d9e-fb47-4a44-b46e-e4b8c35e79c3" } ], "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-3a8de5a3-db66-4bff-83b5-c7bc9f43cd3b" }, { "name": "Update a group", "id": "99377c89-26c9-4067-9022-8e77ab4ae322", "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 \"description\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id" ], "variable": [ { "id": "28bdcbe7-fd87-4c4c-b7ac-aed4dc7d5d23", "key": "group_id", "value": "", "description": "(Required) ID of the group to update." } ] }, "description": "Update the parameters of group, including `name` and `description`." }, "response": [ { "id": "48718732-27cd-4a24-aff8-6191f662f129", "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 \"description\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id" ], "variable": [ { "key": "group_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"editable\": \"\",\n \"deletable\": \"\",\n \"managed\": \"\"\n}", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-48718732-27cd-4a24-aff8-6191f662f129" } ], "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-99377c89-26c9-4067-9022-8e77ab4ae322" }, { "name": "Delete a group", "id": "580b1c50-3ca0-43cd-b46f-7884a6eec409", "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}}/iam/v1alpha1/groups/:group_id", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id" ], "variable": [ { "id": "5a583e05-fca2-4347-b24c-34dbb103e287", "key": "group_id", "value": "", "description": "(Required) ID of the group to delete." } ] }, "description": "Delete a group. Note that this action is irreversible and could delete permissions for group members. Policies attached to users and applications via this group will no longer apply." }, "response": [ { "id": "8ad57c86-2fed-4f86-b7ce-a1598692d04a", "name": "New Response", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: apikey", "key": "X-Auth-Token", "value": "" } ], "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups/:group_id", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups", ":group_id" ], "variable": [ { "key": "group_id" } ] } }, "status": "No Content", "code": 204, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-8ad57c86-2fed-4f86-b7ce-a1598692d04a" } ], "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-580b1c50-3ca0-43cd-b46f-7884a6eec409" } ], "id": "8fae7462-5226-4e9e-ad39-cf2335c3a35e", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-8fae7462-5226-4e9e-ad39-cf2335c3a35e" }, { "name": "List groups", "id": "07786974-71b7-49ff-b9ce-b4059c852af6", "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}}/iam/v1alpha1/groups?order_by=created_at_asc&page=&page_size=&organization_id=&name=&application_ids=&application_ids=&user_ids=&user_ids=&group_ids=&group_ids=&tag=", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups" ], "query": [ { "description": "Sort order of groups.", "key": "order_by", "value": "created_at_asc" }, { "description": "Requested page number. Value must be greater or equal to 1.", "key": "page", "value": "" }, { "description": "Number of items per page. Value must be between 1 and 100.", "key": "page_size", "value": "" }, { "description": "Filter by Organization ID.", "key": "organization_id", "value": "" }, { "description": "Name of group to find.", "key": "name", "value": "" }, { "description": "Filter by a list of application IDs.", "key": "application_ids", "value": "" }, { "description": "Filter by a list of application IDs.", "key": "application_ids", "value": "" }, { "description": "Filter by a list of user IDs.", "key": "user_ids", "value": "" }, { "description": "Filter by a list of user IDs.", "key": "user_ids", "value": "" }, { "description": "Filter by a list of group IDs.", "key": "group_ids", "value": "" }, { "description": "Filter by a list of group IDs.", "key": "group_ids", "value": "" }, { "description": "Filter by tags containing a given string.", "key": "tag", "value": "" } ] }, "description": "List groups. By default, the groups listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You can define additional parameters to filter your query. Use `user_ids` or `application_ids` to list all groups certain users or applications belong to." }, "response": [ { "id": "15533cb6-a625-411a-9c78-064c2b094d1f", "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}}/iam/v1alpha1/groups?order_by=created_at_asc&page=&page_size=&organization_id=&name=&application_ids=&user_ids=&group_ids=&tag=", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups" ], "query": [ { "description": "Sort order of groups.", "key": "order_by", "value": "created_at_asc" }, { "description": "Requested page number. Value must be greater or equal to 1.", "key": "page", "value": "" }, { "description": "Number of items per page. Value must be between 1 and 100.", "key": "page_size", "value": "" }, { "description": "Filter by Organization ID.", "key": "organization_id", "value": "" }, { "description": "Name of group to find.", "key": "name", "value": "" }, { "description": "Filter by a list of application IDs.", "key": "application_ids", "value": "" }, { "description": "Filter by a list of user IDs.", "key": "user_ids", "value": "" }, { "description": "Filter by a list of group IDs.", "key": "group_ids", "value": "" }, { "description": "Filter by tags containing a given string.", "key": "tag", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"groups\": [\n {\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"editable\": \"\",\n \"deletable\": \"\",\n \"managed\": \"\"\n },\n {\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"editable\": \"\",\n \"deletable\": \"\",\n \"managed\": \"\"\n }\n ],\n \"total_count\": \"\"\n}", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-15533cb6-a625-411a-9c78-064c2b094d1f" } ], "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-07786974-71b7-49ff-b9ce-b4059c852af6" }, { "name": "Create a group", "id": "bb92f192-3c98-4569-8c4e-7871062b972a", "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 \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups" ] }, "description": "Create a new group. You must define the `name` and `organization_id` parameters in the request." }, "response": [ { "id": "aa422a38-d500-4521-99f6-f23ee52b51e6", "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 \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"tags\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/iam/v1alpha1/groups", "host": [ "{{baseUrl}}" ], "path": [ "iam", "v1alpha1", "groups" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"organization_id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"user_ids\": [\n \"\",\n \"\"\n ],\n \"application_ids\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"editable\": \"\",\n \"deletable\": \"\",\n \"managed\": \"\"\n}", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-aa422a38-d500-4521-99f6-f23ee52b51e6" } ], "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-bb92f192-3c98-4569-8c4e-7871062b972a" } ], "id": "5e2f90d0-ed1e-4ff1-b301-a0fac949a39c", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-5e2f90d0-ed1e-4ff1-b301-a0fac949a39c" } ], "id": "642565bd-3ce4-49f7-a9d3-8b1585768b23", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-642565bd-3ce4-49f7-a9d3-8b1585768b23" } ], "id": "2a3800aa-374a-4128-81fb-dca4adcdb950", "createdAt": "2026-07-28T02:52:11.000Z", "updatedAt": "2026-07-28T02:52:11.000Z", "uid": "35240-2a3800aa-374a-4128-81fb-dca4adcdb950" } ], "variable": [ { "key": "baseUrl", "value": "https://api.scaleway.com" } ] }