Set-DifyAppAPI¶
Warning
This help was primarily created by a generative AI. It may contain partially inaccurate expressions.
SYNOPSIS¶
Enable or disable API access for an app.
SYNTAX¶
DESCRIPTION¶
The Set-DifyAppAPI cmdlet enables or disables API access for an app. Either -Enable or -Disable must be specified; they cannot be combined with each other.
NOTE: This help was primarily created by a generative AI. It may contain partially inaccurate expressions.
EXAMPLES¶
Example 1¶
Enable API access for the specified app.
Example 2¶
Disable API access for all apps.
PARAMETERS¶
-App¶
Specifies the app objects to update. This parameter accepts pipeline input from Get-DifyApp.
Type: PSObject[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Disable¶
Disables API access for the app. Cannot be combined with -Enable.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Enable¶
Enables API access for the app. Cannot be combined with -Disable.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.