For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
API

Update a department

PATCH
/departments/{id}/

Use with AI:Rippling AI ChatGPT Claude Cursor

Update a department

PATCH
/departments/{id}/

Updates a department within the organization by ID.

Helpful resources

Required Scopes

  • departments.read-write

Request

Path Parameters
    id idrequired

    ID of the resource to patch

Body
    name string

    The name of the department.

    parent_id string

    The parent department.

    reference_code string

    Reference code of the department.

Responses​

Successful response

Schema
    __meta object
      redacted_fields object[]
        Array [
        name string

        The name for the redacted field

        reason string

        The reason for the redaction

        ]
    id stringrequired

    Identifier field

    created_at stringrequired

    Record creation date

    updated_at stringrequired

    Record update date

    name stringrequired

    The name of the department.

    parent_id string

    The parent department.

    parent objectnullable
    The parent department.
    • Matches one or more of these formats:

      1. Format 1
        • Format 2
            value objectnullable
            Possible values: [null]
      reference_code string

      Reference code of the department.

      department_hierarchy_id string[]

      The identifier of departments in the department hierarchy ordered from parent department to child department.

      department_hierarchy object[]nullable

      List of departments in the department hierarchy. Refer department_hierarchy_ids for department hierarchy order.

      Expandable field

    Loading...