Credentials
Return provider settings
GET
organization_id*stringThe ID or slug of the organization.
provider_code*stringThe code of the provider.
state?stringOptional base64-encoded JSON state to be included in connect URLs.
Accept*stringapplication/json
Content-Type*stringapplication/json
Ok
application/json- response
provider*The type of the provider on which a credential was issued and belongs to
organization_id*integerNumeric ID of the organization to which the credential belongs to
settings*|Settings related to a supported provider
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 } } ] } ] }}