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

# Update Reusable Profile



## OpenAPI

````yaml /openapi.json patch /v1/participant/profile
openapi: 3.1.0
info:
  description: Are we on the same page?
  title: Synapse
  version: 0.1.0
servers: []
security: []
paths:
  /v1/participant/profile:
    patch:
      tags:
        - participant-profile
      summary: Update Reusable Profile
      operationId: update_reusable_profile_v1_participant_profile_patch
      parameters:
        - in: header
          name: Idempotency-Key
          required: true
          schema:
            maxLength: 255
            minLength: 1
            title: Idempotency-Key
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReusableProfileUpdateRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReusableProfileMutationReceipt'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Authentication required
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Resource not found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: State or idempotency conflict
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: API error
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Request validation failed
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Internal server error
      security:
        - ParticipantToken: []
          SessionCookie: []
components:
  schemas:
    ReusableProfileUpdateRequest:
      additionalProperties: false
      properties:
        profile:
          additionalProperties: true
          title: Profile
          type: object
      required:
        - profile
      title: ReusableProfileUpdateRequest
      type: object
    ReusableProfileMutationReceipt:
      properties:
        consent_notice_version:
          title: Consent Notice Version
          type: string
        consented_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Consented At
        idempotent_replay:
          default: false
          title: Idempotent Replay
          type: boolean
        link_id:
          title: Link Id
          type: string
        linked:
          title: Linked
          type: boolean
        profile_revision:
          minimum: 0
          title: Profile Revision
          type: integer
        withdrawn_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Withdrawn At
      required:
        - link_id
        - linked
        - profile_revision
        - consent_notice_version
      title: ReusableProfileMutationReceipt
      type: object
    ApiErrorResponse:
      additionalProperties: false
      properties:
        detail:
          anyOf:
            - $ref: '#/components/schemas/ErrorDetail'
            - type: string
            - items: {}
              type: array
            - additionalProperties: true
              type: object
          title: Detail
      required:
        - detail
      title: ApiErrorResponse
      type: object
    ErrorDetail:
      additionalProperties: false
      description: Stable structured detail returned by versioned API errors.
      properties:
        code:
          title: Code
          type: string
        context:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Context
        message:
          title: Message
          type: string
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
      required:
        - code
        - message
      title: ErrorDetail
      type: object
  securitySchemes:
    ParticipantToken:
      bearerFormat: spt_...
      description: Short-lived token bound to one participant session.
      scheme: bearer
      type: http
    SessionCookie:
      description: Opaque administrator browser session.
      in: cookie
      name: synapse_session
      type: apiKey

````