Admin APIFiles
Update a folder
Renaming updates the paths of the folder and everything under it.
Authorization
bearer_auth AuthorizationBearer <token>
Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.
In: header
Path Parameters
tenant_id*string
Tenant id
Format
uuidfolder_id*string
Folder id
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08/folders/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"color": "string",
"created_at": "2019-08-24T14:15:22Z",
"created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
"description": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"is_system": true,
"name": "string",
"parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
"path": "string",
"position": 0,
"store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",
"tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
"updated_at": "2019-08-24T14:15:22Z",
"updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}