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.
Output
OK - Supported features returned.
By default dci renders the result as a table. Use --output json to get the full structure described below — see Output formats.
| Field | Type | Description |
|---|---|---|
supportedFeatures | array of object | List of features and their permission status. |
supportedFeatures[].name | string | The name of the feature. |
supportedFeatures[].hasRequiredPermissions | boolean | Whether the connected account has the required permissions for this feature. |
Raw JSON schema
{
"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
}
}
}
}
}
}
Errors
On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.
| HTTP status | Exit code | Error code | Meaning |
|---|---|---|---|
| 400 | 30 | VALIDATION_ERROR | The arguments or request body were rejected. Review the command's flags and payload. |
| 401 | 10 | AUTHENTICATION_FAILED | Not signed in, or the API token is invalid. Run dci login or check DCI_API_KEY. |
| 403 | 11 | PERMISSION_DENIED | The DoiT user or the active customer context does not have access. |
| 404 | 20 | RESOURCE_NOT_FOUND | The requested resource does not exist. Check the identifier argument. |
| 500 | 40 | API_SERVER_ERROR | The API failed to process the request. Retryable; contact DoiT support if it persists. |
Aliases: getcloudconnectsupportedfeatures