Skip to content

Remove OAIFile

dfinke edited this page Apr 20, 2024 · 2 revisions

Remove-OAIFile

SYNOPSIS

Removes a file from the OpenAPI server.

SYNTAX

Remove-OAIFile [[-id] <Object>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

The Remove-OAIFile function removes a file from the OpenAPI server using the specified file ID.

EXAMPLES

EXAMPLE 1

Remove-OAIFile -id "12345"

This example removes the file with the ID "12345" from the OpenAPI server.

PARAMETERS

-id

The ID of the file to be removed.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

https://platform.openai.com/docs/api-reference/files/delete

Clone this wiki locally