# Variable ResourceGroupApi`Const`

ResourceGroupApi: {
_defaultBasePath: undefined;
kubesubmitV4ResourcegroupsCreate: (
body: BckndResourceGroupsPostRequest,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndResourceGroupBase>;
kubesubmitV4ResourcegroupsDelete: (
resourceGroupId: string,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndResourceGroupDeletionResponse>;
kubesubmitV4ResourcegroupsGet: (
resourceGroupId: string,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndResourceGroup>;
kubesubmitV4ResourcegroupsGetAll: (
queryParameters?: {
$count?: boolean;
$skip?: number;
$top?: number;
continueToken?: string;
labelSelector?: string[];
},
headerParameters?: { Authorization?: string; Prefer?: string },
) => OpenApiRequestBuilder<BckndResourceGroupList>;
kubesubmitV4ResourcegroupsPatch: (
resourceGroupId: string,
body: BckndResourceGroupPatchRequest,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<any>;
}

Representation of the 'ResourceGroupApi'. This API is part of the 'AI_CORE_API' service.

#### Type Declaration

- ##### _defaultBasePath: undefined

- ##### kubesubmitV4ResourcegroupsCreate: (
  body: BckndResourceGroupsPostRequest,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndResourceGroupBase>

  Create resource group to a given main tenant. The length of resource group id must be between 3 and 253.

- ##### kubesubmitV4ResourcegroupsDelete: (
  resourceGroupId: string,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndResourceGroupDeletionResponse>

  Delete a resource group of a given main tenant.

- ##### kubesubmitV4ResourcegroupsGet: (
  resourceGroupId: string,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndResourceGroup>

  Get a resource group of a given main tenant.

- ##### kubesubmitV4ResourcegroupsGetAll: (
  queryParameters?: {
  $count?: boolean;
  $skip?: number;
  $top?: number;
  continueToken?: string;
  labelSelector?: string[];
  },
  headerParameters?: { Authorization?: string; Prefer?: string },
  ) => OpenApiRequestBuilder<BckndResourceGroupList>

  Retrieve a list of resource groups for a given tenant.

- ##### kubesubmitV4ResourcegroupsPatch: (
  resourceGroupId: string,
  body: BckndResourceGroupPatchRequest,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<any>

  Replace some characteristics of the resource group, for instance labels.

  Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/ai-api/dist/client/AI_CORE_API/resource-group-api.d.ts:7