withParent()
Home > @gooddata/sdk-backend-spi > IWorkspacesQuery > withParent
IWorkspacesQuery.withParent() method
Sets a identifier of the parent workspace to get its children, otherwise the root workspace.
Signature:
withParent(workspaceId: string | undefined): IWorkspacesQuery;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| workspaceId | string | undefined | identifier of the parent workspace | 
Returns: