Skip to main content
DELETE
cURL

Authorizations

Authorization
string
header
required

An access token in Infisical

Path Parameters

folderIdOrName
string
required

The ID or name of the folder to delete.

Body

application/json
projectId
string
required

The ID of the project to delete the folder from.

environment
string
required

The slug of the environment where the folder is located.

path
string
default:/

The path of the folder to delete.

forceDelete
boolean
default:false

Whether to force delete the folder even if it contains resources.

Response

Default Response

folder
object
required