Hey GoodData :wave:, I was going through the `Crea...
# gooddata-cn
j
Hey GoodData 👋, I was going through the
Create a Multitenant Environment
docs here and think there might be a mix-up with the API endpoints. Shouldn't it be
/api/v1/entities/workspaces{child-workspace-id}
instead of
/api/v1/layout/workspaceDataFilters
?
image.png
m
Hello Jakub, the child workspace id is specified in the body request. The Declarative API operates exclusively with the all-in-one document model, which distinguishes it from the Entity API that allows individual object access and management. This is especially useful if you need to work with all the objects at once, typically updating them at the same time or removing them from a workspace. More information here: https://www.gooddata.com/docs/cloud/api-and-sdk/api/
j
sure - my point is that this payload needs to be passed to
workspaces
(not to
workspaceDataFilters
API) - layout or entity
m
Thanks for pointing this out, I see what you mean. Please let me highlight this internally