Folders

Delete a folder

delete/api/v2/folders/{folderIdOrName}

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v2/folders/{folderIdOrName}
  • Auth
    HTTP bearer

Path parameters

folderIdOrNamestring required

The ID or name of the folder to delete.

Request body

projectIdstring required

The ID of the project to delete the folder from.

environmentstring required

The slug of the environment where the folder is located.

pathstring

The path of the folder to delete.

forceDeleteboolean

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

Response

Default Response

Changes

No recorded changes to this operation across all 65 revisions of this API.