Delete a workspace and its data.
func (
r *WorkspaceService) Delete(ctx context.Context,
workspaceID string,
opts ...option.RequestOption) (res *WorkspaceDeleteResponse,
err error
)Delete a workspace and its data.
Only the workspace the request is scoped to (the X-Tenant-Id header, or the API key's workspace) can be deleted; any other ID returns 403. Requires the workspace delete permission.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
workspaceID* | string | |
opts* | ...option.RequestOption |