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

# Update Employer Identifier

> Updates an existing employer identifier

<Info>
  Learn more about [Employer
  Identifiers](/api-reference/glossary#employer-identifier) in the Glossary.
</Info>


## OpenAPI

````yaml api-reference/openapi.demo.json PATCH /v1/employer-identifiers/{employer_identifier}
openapi: 3.0.3
info:
  title: Payroll Integrations Public API
  version: 1.0.0
  description: Public API for Payroll Integrations platform
  license:
    name: MIT
servers:
  - url: https://demo1-api.payrollintegrationsdemo.com
    description: Demo
  - url: https://demo2-api.payrollintegrationsdemo.com
    description: Demo
  - url: https://demo3-api.payrollintegrationsdemo.com
    description: Demo
security: []
tags:
  - name: auth
  - name: employer-identifiers
  - name: meta
  - name: payroll-connections
  - name: payroll-platforms
  - name: roles
  - name: users
  - name: webhooks
paths:
  /v1/employer-identifiers/{employer_identifier}:
    patch:
      tags:
        - employer-identifiers
      description: Updates an existing employer identifier
      operationId: patch_v1_employer_identifiers_employer_identifier
      parameters:
        - name: employer_identifier
          in: path
          required: true
          schema:
            description: >-
              Unique identifier (UUID) or the identifier of the employer
              identifier
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          description: >-
            Unique identifier (UUID) or the identifier of the employer
            identifier
      requestBody:
        description: Patch employer identifier request data
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchEmployerIdentifierRequest'
            example:
              displayName: Acme Corporation 401k Employer Identifier
              identifier: ACME12345-UPDATED
      responses:
        '200':
          description: Employer identifier updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchEmployerIdentifierResponse'
              example:
                id: 550e8400-e29b-41d4-a716-446655440000
                displayName: Updated 401(k) Employer Identifier Name
                identifier: identifier-12345
                createdAt: '2024-01-15T10:30:00Z'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or missing token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            WWW-Authenticate:
              schema:
                description: Authentication challenge (Bearer)
                type: string
              description: Authentication challenge (Bearer)
        '403':
          description: Insufficient permissions or access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Employer identifier not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Retry-After:
              schema:
                description: Number of seconds to wait before retrying
                type: string
              description: Number of seconds to wait before retrying
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    PatchEmployerIdentifierRequest:
      type: object
      properties:
        displayName:
          description: Display name of the employer identifier
          type: string
          minLength: 1
          maxLength: 200
          pattern: ^[a-zA-Z0-9!@#$%^&*()_+\-=[\]{}|;:'",.<>/? ]+$
        identifier:
          description: Identifier of the employer identifier
          type: string
          minLength: 1
          maxLength: 200
    PatchEmployerIdentifierResponse:
      type: object
      properties:
        id:
          description: Unique identifier for the employer identifier
          type: string
          format: uuid
          pattern: >-
            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        displayName:
          description: Display name of the employer identifier
          type: string
        identifier:
          description: Identifier of the employer identifier
          type: string
        createdAt:
          description: ISO 8601 timestamp when the employer identifier was created
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
      required:
        - id
        - displayName
        - identifier
        - createdAt
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        message:
          description: Human-readable error message
          type: string
        errors:
          description: Array of specific error details
          type: array
          items:
            type: string
      required:
        - message
        - errors
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Bearer token obtained from the /v1/auth/token endpoint. Send as:
        Authorization: Bearer <token>.

````