Logo
OpenText Developer Cloud public resources API Documentation

Update folder structure

PATCH {{workspace-service-endpoint}}/api/v1/workspace/types/{{workspace_type_employee}}/templates/{{workspace_template_employee_na}}

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X PATCH 'workspace-service-endpoint/api/v1/workspace/types/workspace_type_employee/templates/workspace_template_employee_na' -d '{"case_model":{"display_name":"Employee North America","description":"Case Model of Workspace Template Employee North America","root_case_node":{"display_name":"Employee North America","permission_template_name":"folder_acl","child_nodes":[{"display_name":"010 Hiring \u0026 Onboarding","child_nodes":[{"display_name":"Hiring \u0026 Onboarding Documents","category":"file","object_type":"cms_file"}]},{"display_name":"020 Personal Information","child_nodes":[{"display_name":"Personal Information Documents","category":"file","object_type":"cms_file"}]},{"display_name":"030 Employment","child_nodes":[{"display_name":"Employment Documents","category":"file","object_type":"cms_file"}]},{"display_name":"040 Employee Relations","child_nodes":[{"display_name":"Employee Relations Documents","category":"file","object_type":"cms_file"}]},{"display_name":"050 Tax and Social Security","child_nodes":[{"display_name":"Tax and Social Security Documents","category":"file","object_type":"cms_file"}]}]}}}'

ENDPOINTS