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

# Assign Member ID Card

> Assigns a member ID card to the member or one of its dependents.



## OpenAPI

````yaml schemas/2023-08-25/schema.yaml put /members/{public_id}/member_id_card
openapi: 3.0.3
info:
  title: ''
  version: 0.0.0
servers: []
security: []
paths:
  /members/{public_id}/member_id_card:
    put:
      tags:
        - members
      description: Assigns a member ID card to the member or one of its dependents.
      operationId: members_member_id_card_update
      parameters:
        - in: path
          name: public_id
          schema:
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemberIdCardAssignmentRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/MemberIdCardAssignmentRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MemberIdCardAssignmentRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberIdCardAssignment'
          description: ''
      security:
        - tokenAuth: []
components:
  schemas:
    MemberIdCardAssignmentRequest:
      type: object
      properties:
        member_id_card:
          type: string
          nullable: true
          description: >-
            Send a null member_id_card for a dependent to remove its card and
            have it inherit the member's.
        enrollment_plan:
          type: string
          nullable: true
        enrollment_dependent:
          type: string
          nullable: true
        use_card_for_dependents:
          type: boolean
          default: false
          description: >-
            When assigning to an enrollment plan, also clear each enrolled
            dependent's own card so every dependent on the plan uses the
            member's card. Only valid with enrollment_plan.
    MemberIdCardAssignment:
      type: object
      properties:
        member_id_card:
          type: string
          nullable: true
        enrollment_plan:
          type: string
          nullable: true
        enrollment_dependent:
          type: string
          nullable: true
        use_card_for_dependents:
          type: boolean
          default: false
  securitySchemes:
    tokenAuth:
      type: http
      scheme: bearer
      description: API Key authentication with required prefix "Bearer"

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.