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

# Patch Me



## OpenAPI

````yaml /openapi/mio-openapi.json patch /api/v1/contact-auth/me
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/contact-auth/me:
    patch:
      tags:
        - contact-auth
      summary: Patch Me
      operationId: contact_auth.patch_contact_auth_patch_contact_auth_me
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/SelfUpdateEnvelope'
        required: true
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ContactMeResponse'
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    SelfUpdateEnvelope:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/SelfUpdateResource'
      required:
        - data
      title: SelfUpdateEnvelope
      type: object
    ContactMeResponse:
      additionalProperties: false
      description: JSON:API single-resource envelope for /me routes.
      properties:
        data:
          $ref: '#/components/schemas/ContactMeResource'
      required:
        - data
      title: ContactMeResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    SelfUpdateResource:
      additionalProperties: false
      properties:
        attributes:
          $ref: '#/components/schemas/SelfUpdateAttributes'
        type:
          const: contacts
          title: Type
          type: string
      required:
        - type
        - attributes
      title: SelfUpdateResource
      type: object
    ContactMeResource:
      additionalProperties: false
      description: JSON:API resource object for the current contact (GET /me family).
      properties:
        attributes:
          $ref: '#/components/schemas/ContactMeAttributes'
        id:
          title: Id
          type: string
        type:
          const: contacts
          default: contacts
          title: Type
          type: string
      required:
        - id
        - attributes
      title: ContactMeResource
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    SelfUpdateAttributes:
      additionalProperties: false
      properties:
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        tos_accepted_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Tos Accepted At
        tos_version:
          anyOf:
            - maxLength: 32
              type: string
            - type: 'null'
          title: Tos Version
      title: SelfUpdateAttributes
      type: object
    ContactMeAttributes:
      additionalProperties: false
      description: |-
        Attributes block for the `contacts` resource returned by GET/PATCH /me
        and POST /me/password and POST /me/password/change.
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        email:
          title: Email
          type: string
        email_verified_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Email Verified At
        has_password:
          title: Has Password
          type: boolean
        team_memberships:
          items:
            $ref: '#/components/schemas/ContactMeMembership'
          title: Team Memberships
          type: array
        tos_accepted_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Tos Accepted At
        tos_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Tos Version
      required:
        - email
        - email_verified_at
        - tos_accepted_at
        - tos_version
        - created_at
        - has_password
        - team_memberships
      title: ContactMeAttributes
      type: object
    ContactMeMembership:
      additionalProperties: false
      description: A single team membership entry nested inside the /me attributes.
      properties:
        joined_at:
          format: date-time
          title: Joined At
          type: string
        team_id:
          title: Team Id
          type: string
      required:
        - team_id
        - joined_at
      title: ContactMeMembership
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````