Methods
list
list
List workspaces associated with the user. Optional filters include clusterId, fqn, and workspace name.
Parameters
Returns
🔗 ListWorkspacesResponseReturns all the workspaces associated with a user and also the response includes paginated data.
Usage
create_or_update
create_or_update
Creates a new workspace or updates an existing one based on the provided manifest.
Parameters
🔗 WorkspaceManifestWorkspace manifest
Returns
🔗 GetWorkspaceResponse
- Creates or updates a workspace with given manifest
- Corresponding authorization entry with admin role is made using newly created workspace
- Attached with the cluster id where the workspace is created
Usage
search
search
List workspaces the user can read with optional structured
filter (name, id, environmentId, cluster_fqn) and pagination.Parameters
Returns
🔗 ListWorkspacesResponsePaginated workspaces matching the filter.
Usage
get
get
Get workspace associated with provided workspace id
Parameters
Returns
🔗 GetWorkspaceResponseReturns the workspaces associated with provided workspace id
Usage
delete
delete
Deletes the workspace with the given workspace ID.
Parameters
Returns
🔗 WorkspacesDeleteResponseSuccessfully deletes the workspace and returns the workspace details along with a confirmation message.
Usage
get_by_fqn
get_by_fqn