# Remove Member Properties

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v3/{loyalty_club_slug}/members/{id}/properties:
    delete:
      summary: Remove Member Properties
      deprecated: false
      description: |
        Removes (nullifies) given properties of the member.

        Returns the Member after update - see: [Member model](doc-342131#member)
      tags:
        - API Reference/Management API/Members/Member Profile
      parameters:
        - name: loyalty_club_slug
          in: path
          description: ''
          required: true
          example: infinity-mall
          schema:
            type: string
        - name: id
          in: path
          description: member id
          required: true
          example: 0
          schema:
            type: integer
        - 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: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - 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:
                properties:
                  type: array
                  items:
                    type: string
                    examples:
                      - - first_name
                        - gender
                  description: >-
                    The list of properties to remove, required properties are
                    forbidden, attributes properties - email, msisdn, optin are
                    forbidden
                  minItems: 1
                  uniqueItems: true
              x-apidog-orders:
                - properties
              required:
                - properties
              x-apidog-ignore-properties: []
            example:
              properties:
                - first_name
                - gender
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberData'
              example:
                id: 41
                properties:
                  last_name: Larsen
                sms_status: enabled
                email_status: verified
                push_status: enabled
                has_password: false
                can_login: true
                created_at: '2022-11-05T16:25:58.099512Z'
                updated_at: '2022-11-15T16:25:58.099512Z'
                consents: {}
                person_id: 47
                user_id: null
                optin_channel: laborum
                optin_subchannel: null
                banned_until: null
                stores_ids: []
                subunit_ids: []
                community_id: 8
                has_push_token: false
                previously_deleted_at: null
                social_logins:
                  - apple
                  - google
                  - vipps
                favorite_stores:
                  - 35078138
                registration_medium: other
          headers: {}
          x-apidog-name: Success
        '422':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    examples:
                      - Invalid parameters
                    const: Invalid parameters
                  details:
                    type: object
                    properties: {}
                    x-apidog-orders: []
                    description: 'See: [Params Validation](doc-341637)'
                    additionalProperties: true
                    x-apidog-ignore-properties: []
                required:
                  - error
                  - details
                x-apidog-orders:
                  - error
                  - details
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: ''
      security: []
      x-apidog-folder: API Reference/Management API/Members/Member Profile
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-4045409-run
components:
  schemas:
    MemberData:
      type: object
      properties:
        id:
          type: integer
        properties:
          type: object
          properties:
            first_name:
              type: string
              x-apidog-mock: '{{$person.firstName}}'
              nullable: true
            last_name:
              type: string
              x-apidog-mock: '{{$person.lastName}}'
              nullable: true
            gender:
              type: string
              enum:
                - male
                - female
              x-apidog-enum:
                - value: male
                  name: ''
                  description: ''
                - value: female
                  name: ''
                  description: ''
              nullable: true
          x-apidog-orders:
            - first_name
            - last_name
            - gender
          x-apidog-ignore-properties: []
        sms_status:
          type: string
          examples:
            - verified
            - enabled
        email_status:
          type: string
          examples:
            - verified
            - enabled
        push_status:
          type: string
          examples:
            - enabled
        has_password:
          type: boolean
        can_login:
          type: boolean
        created_at:
          $ref: '#/components/schemas/date_time.created_at'
        updated_at:
          $ref: '#/components/schemas/date_time.updated_at'
        consents:
          type: object
          properties: {}
          x-apidog-orders: []
          x-apidog-ignore-properties: []
        person_id:
          type: integer
        user_id:
          type: string
          nullable: true
        optin_channel:
          type: string
        optin_subchannel:
          type: string
          nullable: true
        banned_until:
          anyOf:
            - &ref_0
              $ref: '#/components/schemas/date_time'
            - type: 'null'
        stores_ids:
          type: array
          items:
            type: integer
        subunit_ids:
          type: array
          items:
            type: integer
        community_id:
          type: integer
        has_push_token:
          type: boolean
        previously_deleted_at:
          anyOf:
            - *ref_0
            - type: 'null'
        social_logins:
          type: array
          items:
            type: string
            enum:
              - google
              - apple
              - facebook
              - vipps
            x-apidog-enum:
              - value: google
                name: ''
                description: ''
              - value: apple
                name: ''
                description: ''
              - value: facebook
                name: ''
                description: ''
              - value: vipps
                name: ''
                description: ''
        favorite_stores:
          type: array
          items:
            type: integer
        registration_medium:
          type: string
          examples:
            - other
      x-apidog-orders:
        - id
        - properties
        - sms_status
        - email_status
        - push_status
        - has_password
        - can_login
        - created_at
        - updated_at
        - consents
        - person_id
        - user_id
        - optin_channel
        - optin_subchannel
        - banned_until
        - stores_ids
        - subunit_ids
        - community_id
        - has_push_token
        - previously_deleted_at
        - social_logins
        - favorite_stores
        - registration_medium
      required:
        - id
        - properties
        - sms_status
        - email_status
        - push_status
        - has_password
        - can_login
        - created_at
        - updated_at
        - consents
        - person_id
        - optin_channel
        - stores_ids
        - subunit_ids
        - community_id
        - has_push_token
        - social_logins
        - favorite_stores
        - registration_medium
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    date_time:
      type: string
      format: date-time
      examples:
        - '2022-11-09T16:25:58.099512Z'
      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: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```