Skip to main content

Endpoint

DELETE /v1/folders/{folderId}

Request

curl -X DELETE "http://client-omni-api.argosidentity.com/v1/folders/{folderId}" \
  -H "x-api-key: your-api-key-here"

Response (204 No Content)

No response body.
The default folder cannot be deleted. Only user-created folders can be removed. Deleting a folder permanently removes all items within it.

Error Codes

StatusCodeDescription
400CANNOT_DELETE_DEFAULT_FOLDERDefault folder cannot be deleted
404FOLDER_NOT_FOUNDFolder not found