Create a File Path

Create a File Path in a domain.

Please note: Offensive file path names will be replaced with ****

POST https://{region}.getafile.io/api/v1/teams/:team_id/filepath

This endpoint allows you to create a File Path.

Path Parameters

Name
Type
Description

team_id*

integer

ID of the Team

Request Body

Name
Type
Description

name*

string

File Path name

domain_id*

integer

ID of the Domain

parent_id

integer

ID of the Parent File path

{
    "name": "Testing",
    "domain_id": 1,
    "parent_id": null,
    "user_id": 1,
    "slug": "testing",
    "created_at": "2024-03-12T09:31:32.381+10:00",
    "updated_at": "2024-03-12T09:31:32.382+10:00",
    "id": 76,
    "meta": {}
}

Last updated

Was this helpful?