Update folder
Update a folder by ID for the authenticated user
x-api-key<token>
In: header
Path Parameters
folderIdstring
Length
1 <= lengthname?string
Length
1 <= lengthdesc?string
image?string
price?number
Range
0 <= value <= 999999999slug?string
Match
^[a-z0-9-]+$Length
3 <= length <= 100isOneTimePurchase?boolean
isPublic?boolean
trialDays?integer
Range
0 <= valueResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://app.notca.co/api/v1/folders/string" \ -H "Content-Type: application/json" \ -d '{ "name": "Updated folder name", "desc": "Updated description", "image": "https://example.com/image.png", "price": 1000, "slug": "updated-folder", "isPublic": true }'{
"id": "string",
"name": "string",
"desc": "string",
"image": "string",
"price": -2147483648,
"slug": "string",
"isOneTimePurchase": true,
"isPublic": true,
"trialDays": -2147483648,
"userId": "string",
"createdAt": "2019-08-24",
"updatedAt": "2019-08-24"
}{
"error": "string",
"details": null
}{
"error": "string",
"details": null
}{
"error": "string",
"details": null
}{
"error": "string",
"details": null
}