# Bulk update memberships

PUT https://api.close.com/api/v1/membership/
Content-Type: application/json

Any field that can be updated on a membership individually can also be used to bulk update multiple memberships. To issue a bulk update, pass their comma separated ids into `id__in` in `_params` as shown in the example below.

Reference: https://developer.close.com/api/resources/memberships/bulk-update

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: Close API
  version: 1.0.0
paths:
  /membership/:
    put:
      operationId: bulk-update
      summary: Bulk update memberships
      description: >-
        Any field that can be updated on a membership individually can also be
        used to bulk update multiple memberships. To issue a bulk update, pass
        their comma separated ids into `id__in` in `_params` as shown in the
        example below.
      tags:
        - subpackage_memberships
      parameters:
        - name: Authorization
          in: header
          description: Basic authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/memberships_bulkUpdate_Response_200'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                description: Any type
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Not found
          content:
            application/json:
              schema:
                description: Any type
      requestBody:
        content:
          application/json:
            schema:
              description: Any type
servers:
  - url: https://api.close.com/api/v1
components:
  schemas:
    memberships_bulkUpdate_Response_200:
      type: object
      properties: {}
      description: Empty response body
      title: memberships_bulkUpdate_Response_200
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: basic
    OAuth2:
      type: http
      scheme: bearer

```