# Update member authentication configuration

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/loyalty_clubs/applications/{identifier}/member_authentication_configuration:
    put:
      summary: Update member authentication configuration
      deprecated: false
      description: Create or update member authentication configuration for application
      tags:
        - API Reference/Management API/Core/Member Authentication Configuration
      parameters:
        - name: identifier
          in: path
          description: Identifier of the application (product slug)
          required: true
          example: ios
          schema:
            type: string
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: X-Customer
          in: header
          description: Customer for API context.  [Details](doc-342139)
          required: false
          example: '{{CUSTOMER_ID}}'
          schema:
            type: string
            default: '{{CUSTOMER_ID}}'
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                member_authentication_configuration: &ref_0
                  $ref: '#/components/schemas/MemberAuthenticationConfiguration'
              required:
                - member_authentication_configuration
              x-apidog-orders:
                - member_authentication_configuration
              x-apidog-ignore-properties: []
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  member_authentication_configuration: *ref_0
                x-apidog-orders:
                  - member_authentication_configuration
                required:
                  - member_authentication_configuration
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: OK
        '422':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: object
                    properties:
                      name:
                        type: array
                        items:
                          type: object
                          properties:
                            error:
                              type: string
                          x-apidog-orders:
                            - error
                          x-apidog-ignore-properties: []
                    required:
                      - name
                    x-apidog-orders:
                      - name
                    x-apidog-ignore-properties: []
                required:
                  - error
                  - details
                x-apidog-orders:
                  - error
                  - details
                x-apidog-ignore-properties: []
              example:
                error: Invalid parameters
                details:
                  name:
                    - error: taken
          headers: {}
          x-apidog-name: Parameter Error
      security: []
      x-apidog-folder: API Reference/Management API/Core/Member Authentication Configuration
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3668814-run
components:
  schemas:
    MemberAuthenticationConfiguration:
      type: object
      properties:
        enabled:
          type: boolean
        forced_identifier:
          type: string
          enum:
            - email
            - msisdn
          x-apidog-enum:
            - name: ''
              value: email
              description: ''
            - name: ''
              value: msisdn
              description: ''
          nullable: true
        registration_with_password:
          type: boolean
        social_login_ids:
          type: array
          items: &ref_1
            $ref: '#/components/schemas/id'
        domain_id:
          anyOf:
            - *ref_1
            - type: 'null'
        otp_message_id: *ref_1
        password_reset_message_id: *ref_1
        created_at:
          anyOf:
            - $ref: '#/components/schemas/date_time.created_at'
            - type: 'null'
        updated_at:
          anyOf:
            - $ref: '#/components/schemas/date_time.updated_at'
            - type: 'null'
      x-apidog-orders:
        - enabled
        - forced_identifier
        - registration_with_password
        - social_login_ids
        - domain_id
        - otp_message_id
        - password_reset_message_id
        - created_at
        - updated_at
      required:
        - enabled
        - forced_identifier
        - registration_with_password
        - social_login_ids
        - domain_id
        - otp_message_id
        - password_reset_message_id
        - created_at
        - updated_at
      additionalProperties: false
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    date_time.updated_at:
      type: string
      description: Time of the last record update
      format: date-time
      examples:
        - '2022-11-15T16:25:58.099512Z'
      readOnly: true
      x-apidog-folder: ''
    date_time.created_at:
      type: string
      description: Time of record creation
      format: date-time
      examples:
        - '2022-11-05T16:25:58.099512Z'
      readOnly: true
      x-apidog-folder: ''
    id:
      type: integer
      description: Primary identifier of the record
      format: uint64
      readOnly: true
      examples:
        - 1
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```