remove unused enum
support workspaceId in the header
remove unused request parameter