> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# alter_resource_group

### alter\_resource\_group

<ul>
  <li>
    alter\_resource\_group(\
    &#x20;name: string,\
    &#x20;tier\_attributes?: Record\<string, Record\<string, string>>,\
    &#x20;ranking?: string,\
    &#x20;adjoining\_resource\_group?: string,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[AlterResourceGroupResponse](https://docs.kinetica.com/content/api/javascript/interfaces/AlterResourceGroupResponse.md)>

    Alters the properties of an existing resource group to facilitate resource management.

    #### Parameters

    <ul>
      <li>
        name: string

        Name of the group to be altered. Must be an existing resource group name or an empty string when used in conjunction with is\_default\_group.
      </li>

      <li>
        `Optional`tier\_attributes: Record\<string, Record\<string, string>>

        Optional map containing tier names and their respective attribute group limits. The only valid attribute limit that can be set is max\_memory (in bytes) for the VRAM and RAM tiers.For instance, to set max VRAM capacity to 1GB per rank per GPU and max RAM capacity to 10GB per rank, use: \{'VRAM':\{'max\_memory':'1000000000'}, 'RAM':\{'max\_memory':'10000000000'}}
      </li>

      <li>
        `Optional`ranking: string

        If the resource group ranking is to be updated, this indicates the relative ranking among existing resource groups where this resource group will be placed.
      </li>

      <li>
        `Optional`adjoining\_resource\_group: string

        If `ranking` is before or after, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank.
      </li>

      <li>
        `Optional`options: Record\<string, string>

        Optional parameters.
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[AlterResourceGroupResponse](https://docs.kinetica.com/content/api/javascript/interfaces/AlterResourceGroupResponse.md)>

    Promise\<Types.AlterResourceGroupResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:4503](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L4503)</li>
    </ul>
  </li>
</ul>

### alter\_resource\_group\_request

<ul>
  <li>
    alter\_resource\_group\_request(\
    &#x20;request: [AlterResourceGroupRequest](https://docs.kinetica.com/content/api/javascript/interfaces/AlterResourceGroupRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[AlterResourceGroupResponse](https://docs.kinetica.com/content/api/javascript/interfaces/AlterResourceGroupResponse.md)>

    Alters the properties of an existing resource group to facilitate resource management.

    #### Parameters

    <ul>
      <li>
        request: [AlterResourceGroupRequest](https://docs.kinetica.com/content/api/javascript/interfaces/AlterResourceGroupRequest.md)

        Request object containing the parameters for the operation
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[AlterResourceGroupResponse](https://docs.kinetica.com/content/api/javascript/interfaces/AlterResourceGroupResponse.md)>

    Promise\<Types.AlterResourceGroupResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:4467](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L4467)</li>
    </ul>
  </li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.