メインコンテンツへスキップ

get-cloud-connect-supported-features

dci get-cloud-connect-supported-features accountID

Returns the list of supported features and their permission status for a cloud account connected via CloudConnect. The account must belong to the authenticated customer. Supports AWS and Azure accounts.

Responses

200 (application/json)

OK - Supported features returned.

{
"type": "object",
"description": "Response containing the supported features for a CloudConnect account.",
"properties": {
"supportedFeatures": {
"type": "array",
"description": "List of features and their permission status.",
"items": {
"type": "object",
"description": "A feature supported by a CloudConnect account.",
"properties": {
"name": {
"type": "string",
"description": "The name of the feature.",
"example": "sandbox"
},
"hasRequiredPermissions": {
"type": "boolean",
"description": "Whether the connected account has the required permissions for this feature.",
"example": true
}
}
}
}
}
}

400 (application/json)

Bad Request - The server cannot process the request, often due to a malformed request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

401 (application/json)

Unauthorized - Invalid API key.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

403 (application/json)

Forbidden - The client is not authorized to perform the request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

404 (application/json)

Not Found - No CloudConnect document found for this account.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

500 (application/json)

Internal Server Error - Something went wrong with the DoiT API server.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

Aliases: get-cloud-connect-supported-features, getcloudconnectsupportedfeatures