> ## 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.

# Update Override

> Update an access override (e.g., extend expiry).



## OpenAPI

````yaml /openapi/mio-openapi.json patch /api/v1/teams/{team_id}/hubs/{hub_id}/access-overrides/{override_id}
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/teams/{team_id}/hubs/{hub_id}/access-overrides/{override_id}:
    patch:
      tags:
        - access-overrides-admin
      summary: Update Override
      description: Update an access override (e.g., extend expiry).
      operationId: >-
        access_overrides_admin.patch_access_overrides_admin_patch_teams_by_team_id_hubs_by_hub_id_access_overrides_by_override_id
      parameters:
        - in: path
          name: team_id
          required: true
          schema:
            title: Team Id
            type: string
        - in: path
          name: hub_id
          required: true
          schema:
            title: Hub Id
            type: string
        - in: path
          name: override_id
          required: true
          schema:
            title: Override Id
            type: string
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/OverrideUpdateEnvelope'
        required: true
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/OverrideResponse'
          description: Successful Response
        '400':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Validation error
        '401':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Not authenticated
        '403':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Forbidden
        '404':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Resource not found
        '409':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Conflict (duplicate rule for target)
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Unprocessable entity
      security:
        - HTTPBearer: []
components:
  schemas:
    OverrideUpdateEnvelope:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/OverrideUpdateResource'
      required:
        - data
      title: OverrideUpdateEnvelope
      type: object
    OverrideResponse:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/OverrideResource'
      required:
        - data
      title: OverrideResponse
      type: object
    JsonApiErrorResponse:
      description: Error JSON:API response.
      properties:
        errors:
          items:
            $ref: '#/components/schemas/JsonApiError'
          title: Errors
          type: array
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - errors
      title: JsonApiErrorResponse
      type: object
    OverrideUpdateResource:
      additionalProperties: false
      properties:
        attributes:
          $ref: '#/components/schemas/OverrideUpdateAttributes'
        type:
          const: access_overrides
          title: Type
          type: string
      required:
        - type
        - attributes
      title: OverrideUpdateResource
      type: object
    OverrideResource:
      additionalProperties: false
      properties:
        attributes:
          $ref: '#/components/schemas/OverrideAttributes'
        id:
          title: Id
          type: string
        type:
          const: access_overrides
          default: access_overrides
          title: Type
          type: string
      required:
        - id
        - attributes
      title: OverrideResource
      type: object
    JsonApiError:
      properties:
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
        detail:
          anyOf:
            - type: string
            - type: 'null'
          title: Detail
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        source:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: Source
        status:
          title: Status
          type: string
        title:
          title: Title
          type: string
      required:
        - status
        - title
      title: JsonApiError
      type: object
    OverrideUpdateAttributes:
      additionalProperties: false
      properties:
        expires_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Expires At
        product_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Id
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        scope:
          anyOf:
            - type: string
            - type: 'null'
          title: Scope
      title: OverrideUpdateAttributes
      type: object
    OverrideAttributes:
      additionalProperties: false
      properties:
        contact_id:
          title: Contact Id
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        expires_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Expires At
        granted_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Granted By
        hub_id:
          title: Hub Id
          type: string
        product_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Id
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        scope:
          title: Scope
          type: string
        team_id:
          title: Team Id
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - contact_id
        - hub_id
        - scope
        - product_id
        - granted_by
        - expires_at
        - reason
        - team_id
        - created_at
        - updated_at
      title: OverrideAttributes
      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

````