v1

latestOpenAPI 3.1.02026-07-263911,4691.1 MB
Directory (Sites)

Update a folder

patch/directory/v1/folder/{id}

Path parameters

idstring required

Required. The folder identifier of the folder to be updated.

Request body

domainstring

domain represents the type/domain/hierarchy for the folder. This is used for changing the properties of a specific domain folder

Response

A successful response.

Example response

{
  "folder": {
    "id": "4fb56fa8-fa23-4a9c-907e-8367abc75a2f",
    "name": "Sydney",
    "org_id": "d31e24be-e7a4-4a28-a230-044f850041fc",
    "creator_id": "a3452937-9fa7-4ba2-9ffa-c3bbee3fc947",
    "created_at": "2020-04-28T04:14:31:00Z",
    "modified_at": "2020-04-28T04:14:31:00Z",
    "meta_label": "location"
  }
}