Update a File Path
Update a File Category for a Domain in your account.
Please note: Offensive file category names will be replaced with ****
PUT https://{region}.getafile.io/api/v1/teams/:team_id/filepath/:id
This endpoint allows you to update a File Category.
Path Parameters
Name
Type
Description
id*
string
ID of the File Path
team_id*
integer
ID of the Team
Request Body
Name
Type
Description
name*
string
File Path name
domain_id*
integer
Domain ID
parent_id
integer
ID of the parent File Path
{
"id": 76,
"user_id": 1,
"domain_id": 26,
"parent_id": null,
"name": "Testing Test",
"slug": "testing-test",
"created_at": "2024-03-12T09:31:32.000+10:00",
"updated_at": "2024-03-12T09:40:43.000+10:00",
"meta": {
"fullurl": "testing-test",
"label": "testing-test (0)",
"fullname": "Testing Test"
}
}{ "message": "Ain't no cake like that."}Last updated
Was this helpful?