Skip to content

Dissolve Team

Dissolve Team Folder and convert it back to the user basic folders with all content within.

Endpoint

http
DELETE /api/v1/teams/folders/{folder_id}

Parameters

Path parameters

ParameterTypeRequiredDescription
folder_idstringyes-

Request example

sh
curl --location --request DELETE 'https://files.ro/api/v1/teams/folders/{folder_id}' \
--header 'Authorization: Bearer {token}'

Response

json
{
  "type": "success",
  "message": "The team was dissolved."
}
json
{
  "type": "error",
  "message": "You are not authorized"
}
json
{
  "message": "This action is unauthorized."
}
json
{
  "message": "The given data was invalid.",
  "errors": {
    "field": [
      "The field is required."
    ]
  }
}