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

# uitnodiging bijwerken

> Uitnodiging voor account bijwerken

<script src="/locale-bridge.js" />


## OpenAPI

````yaml /openapi.nl.json PATCH /v1/public/accounts/{account_id}/auth/invitations/{invitation_id}
openapi: 3.1.0
info:
  title: Code API (Public)
  version: 1.0.0
servers:
  - url: https://api.hybridbox.io
security: []
paths:
  /v1/public/accounts/{account_id}/auth/invitations/{invitation_id}:
    patch:
      tags:
        - public-accounts
        - public-account-auth
      summary: Uitnodiging voor account bijwerken
      description: Werkt een openstaande uitnodiging binnen het accountbereik bij.
      operationId: >-
        update_public_account_invitation_v1_public_accounts__account_id__auth_invitations__invitation_id__patch
      parameters:
        - in: path
          name: invitation_id
          required: true
          schema:
            format: uuid
            title: Invitation Id
            type: string
        - in: path
          name: account_id
          required: true
          schema:
            format: uuid
            title: Account Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvitationUpdateRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InviteResponse'
          description: ''
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validatiefout
      security:
        - PublicBearerAuth: []
components:
  schemas:
    InvitationUpdateRequest:
      description: >-
        Verzoekschema voor het bijwerken van een in behandeling zijnde
        gebruikersuitnodiging.
      properties:
        assignments:
          items:
            $ref: '#/components/schemas/InvitationAssignmentRequest'
          minItems: 1
          title: toewijzingen
          type: array
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: notitie
      required:
        - assignments
      title: InvitationUpdateRequest
      type: object
    InviteResponse:
      properties:
        accepted_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: geaccepteerd op
        accepted_subject_id:
          anyOf:
            - type: string
            - type: 'null'
          title: geaccepteerd onderwerp ID
        assignments:
          items:
            $ref: '#/components/schemas/InvitationAssignmentResponse'
          title: toewijzingen
          type: array
        created_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: aangemaakt op
        email:
          title: e-mail
          type: string
        expires_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: verloopt op
        id:
          format: uuid
          title: ID
          type: string
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: notitie
        permission_context:
          $ref: '#/components/schemas/PermissionInspectabilitySnapshot'
        status:
          title: Status
          type: string
      required:
        - id
        - email
        - status
        - assignments
        - permission_context
      title: InviteResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    InvitationAssignmentRequest:
      description: Schema voor een enkele toestemmingstoewijzing binnen een uitnodiging.
      properties:
        capability_key:
          anyOf:
            - type: string
            - type: 'null'
          title: mogelijkheid sleutel
        grant_kind:
          anyOf:
            - $ref: '#/components/schemas/GrantKind'
            - type: 'null'
        group_id:
          anyOf:
            - type: string
            - type: 'null'
          title: groep ID
        resource_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: resource ID
        resource_type:
          anyOf:
            - $ref: '#/components/schemas/ResourceType'
            - type: 'null'
        role_key:
          anyOf:
            - type: string
            - type: 'null'
          title: Rol sleutel
      title: InvitationAssignmentRequest
      type: object
    InvitationAssignmentResponse:
      description: >-
        Schema voor een enkele toestemmingstoewijzing binnen een
        uitnodigingsantwoord.
      properties:
        assignment_kind:
          title: toewijzing soort
          type: string
        capability_key:
          anyOf:
            - type: string
            - type: 'null'
          title: mogelijkheid sleutel
        grant_kind:
          anyOf:
            - type: string
            - type: 'null'
          title: toekenning soort
        group_id:
          anyOf:
            - type: string
            - type: 'null'
          title: groep ID
        id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: ID
        position:
          title: positie
          type: integer
        resource_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: resource ID
        resource_type:
          anyOf:
            - type: string
            - type: 'null'
          title: resource type
        role_key:
          anyOf:
            - type: string
            - type: 'null'
          title: Rol sleutel
      required:
        - assignment_kind
        - position
      title: InvitationAssignmentResponse
      type: object
    PermissionInspectabilitySnapshot:
      description: >-
        Gedeelde momentopname van de inspectie voor gebruikers-, groeps- en
        uitnodigingsbeheer.
      properties:
        assigned_bundle_keys:
          items:
            type: string
          title: Toegewezen bundelsleutels
          type: array
        direct_capability_keys:
          items:
            type: string
          title: Direct mogelijkheid Keys
          type: array
        owner_assignments:
          items:
            $ref: '#/components/schemas/OwnerAssignmentSnapshot'
          title: eigenaar toewijzingen
          type: array
        resolved_capability_keys:
          items:
            type: string
          title: opgelost mogelijkheid Keys
          type: array
        status:
          default: active
          title: Status
          type: string
        subject_id:
          default: ''
          title: onderwerp ID
          type: string
        subject_type:
          default: unknown
          title: onderwerp type
          type: string
      title: PermissionInspectabilitySnapshot
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Locatie
          type: array
        msg:
          title: Bericht
          type: string
        type:
          title: Fouttype
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    GrantKind:
      description: Soorten autorisatievergunningen.
      enum:
        - capability
        - account_owner
        - super_admin
      title: GrantKind
      type: string
    ResourceType:
      description: Authorization resource en scope types.
      enum:
        - client
        - account
        - workspace
        - domain
        - dns_record
        - mailbox
        - redirect
        - forwarding
        - credential
        - tenant
        - route
        - proxy
      title: ResourceType
      type: string
    OwnerAssignmentSnapshot:
      description: Schema dat een relatie met de accounteigenaar aangeeft.
      properties:
        account_id:
          format: uuid
          title: account ID
          type: string
      required:
        - account_id
      title: OwnerAssignmentSnapshot
      type: object
  securitySchemes:
    PublicBearerAuth:
      bearerFormat: JWT or Hybridbox Service account token
      description: >-
        Public API bearer credential sent as `Authorization: Bearer <token>`.
        Use either an OAuth access token or a Hybridbox Service account token.
      scheme: bearer
      type: http

````