Skip to Content
Credentials

Return provider settings

GET
/organizations/{organization_id}/credentials/{provider_code}/settings

Path Parameters

organization_id*string

The ID or slug of the organization.

provider_code*string

The code of the provider.

Query Parameters

state?string

Optional base64-encoded JSON state to be included in connect URLs.

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
provider*

The type of the provider on which a credential was issued and belongs to

organization_id*integer

Numeric ID of the organization to which the credential belongs to

settings*|

Settings related to a supported provider

Example Request
curl -X GET 'https://api.devopness.com/organizations/my-org/credentials/aws/settings?state=eyJyZXR1cm5fdG8iOiIvY3JlZGVudGlhbHMifQ%3D%3D' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response
{  "provider": {    "type": "cloud_provider",    "type_human_readable": "Cloud Provider"  },  "organization_id": 456,  "settings": {    "input_settings": [      {        "name": "access_key_id",        "name_human_readable": "Access Key",        "validation": {          "required": true,          "type": "string",          "min": 10,          "max": 20,          "allowed_values": [            ""          ],          "hidden": false        },        "default_value": null,        "sensitive": false      }    ],    "cloud_services": [      {        "code": "aws-ec2",        "name": "Amazon Elastic Compute Cloud",        "provider": {          "active": true,          "code": "aws",          "code_human_readable": "Amazon Web Services",          "type": "cloud_provider",          "type_human_readable": "Cloud Provider"        },        "regions": [          {            "code": "us-east-1",            "name": "US East (N. Virginia) us-east-1",            "hint": "Some text here describing this field for end users",            "zones": [              "us-east-1a",              "us-east-1b",              "us-east-1c"            ]          }        ],        "resource_types": [          {            "provider_resource_type": "vpc",            "devopness_resource_type": "network",            "scope": "region",            "input_settings": [              {                "name": "access_key_id",                "name_human_readable": "Access Key",                "default_value": "default_access_key",                "sensitive": false,                "validation": {                  "required": true,                  "type": "string",                  "min": 10,                  "max": 30,                  "allowed_values": [                    "string"                  ]                }              }            ],            "os": [              {                "code": "ubuntu",                "name": "Ubuntu",                "hint": "Some text here describing this field for end users",                "supported_versions": [                  {                    "name": "22.04 LTS (Jammy Jellyfish)",                    "code_name": "Jammy Jellyfish",                    "version": "22.04",                    "os_version_code": "ubuntu_26_04",                    "os_version_code_human_readable": "Ubuntu 22.04 LTS (Jammy Jellyfish)",                    "released_at": "2020-04-23",                    "end_standard_support_at": "2025-04-01",                    "end_of_life_at": "2030-04-01"                  }                ]              }            ],            "can_keep_disk_after_delete_server": true,            "operation_custom_settings": {              "operation": "remove",              "operation_human_readable": "Delete",              "triggers_action": true            }          }        ]      }    ]  }}