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

# Rename a project group or change its emoji



## OpenAPI

````yaml /openapi.json patch /api/projects/groups/{id}
openapi: 3.1.0
info:
  title: Equated API
  version: 1.0.0
  description: >-
    Agent-facing accounting API. Authenticate with a bearer token issued from
    Settings → API Tokens, or via the in-app session cookie when called from the
    web client.
servers:
  - url: https://app.equated.co
    description: API server
security: []
paths:
  /api/projects/groups/{id}:
    patch:
      tags:
        - Projects
      summary: Rename a project group or change its emoji
      parameters:
        - schema:
            type: integer
            minimum: 0
            exclusiveMinimum: true
          required: true
          name: id
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                emoji:
                  type: string
                  nullable: true
                  maxLength: 16
                  description: Emoji shown before the name. Null or empty clears it.
      responses:
        '200':
          description: Updated project group
          content:
            application/json:
              schema:
                type: object
                properties:
                  group:
                    $ref: '#/components/schemas/ProjectGroup'
                required:
                  - group
      security:
        - bearerAuth: []
components:
  schemas:
    ProjectGroup:
      allOf:
        - $ref: '#/components/schemas/ProjectGroupSummary'
        - type: object
          properties:
            organizationId:
              type: string
            createdAt:
              type: string
            updatedAt:
              type: string
          required:
            - organizationId
            - createdAt
            - updatedAt
    ProjectGroupSummary:
      type: object
      properties:
        id:
          type: integer
          minimum: 0
          exclusiveMinimum: true
        name:
          type: string
        emoji:
          type: string
          nullable: true
      required:
        - id
        - name
        - emoji
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API token issued from the Equated app under Settings → API Tokens.

````