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

# groep maken

> Authenticatiegroep voor account aanmaken

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


## OpenAPI

````yaml /openapi.nl.json POST /v1/public/accounts/{account_id}/auth/groups
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/groups:
    post:
      tags:
        - public-accounts
        - public-account-auth
      summary: Authenticatiegroep voor account aanmaken
      description: Maakt een aan een account gekoppelde groep aan.
      operationId: >-
        create_public_account_auth_group_v1_public_accounts__account_id__auth_groups_post
      parameters:
        - in: path
          name: account_id
          required: true
          schema:
            format: uuid
            title: Account Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupCreateRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupResponse'
          description: ''
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validatiefout
      security:
        - PublicBearerAuth: []
components:
  schemas:
    GroupCreateRequest:
      description: Schema aanvragen voor het maken van een nieuwe verificatiegroep.
      properties:
        account_id:
          description: Owning account voor de new account-scoped group
          format: uuid
          title: account ID
          type: string
        attributes:
          anyOf:
            - additionalProperties:
                anyOf:
                  - items:
                      type: string
                    type: array
                  - type: string
              type: object
            - type: 'null'
          title: attributen
        description:
          anyOf:
            - type: string
            - type: 'null'
          description: Lokale groepsbeschrijving
          title: beschrijving
        name:
          maxLength: 255
          minLength: 1
          title: naam
          type: string
      required:
        - name
        - account_id
      title: GroupCreateRequest
      type: object
    GroupResponse:
      properties:
        account_id:
          format: uuid
          title: account ID
          type: string
        attributes:
          additionalProperties:
            items:
              type: string
            type: array
          title: attributen
          type: object
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: beschrijving
        id:
          title: ID
          type: string
        keycloak_account_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Keycloak account ID
        keycloak_name:
          title: Keycloak naam
          type: string
        linked_scopes:
          items:
            $ref: '#/components/schemas/GroupScopeLinkResponse'
          title: gekoppeld bereiken
          type: array
        name:
          title: naam
          type: string
        parent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: bovenliggend ID
        path:
          anyOf:
            - type: string
            - type: 'null'
          title: pad
        permission_context:
          $ref: '#/components/schemas/PermissionInspectabilitySnapshot'
        subgroup_ids:
          items:
            type: string
          title: subgroep IDs
          type: array
      required:
        - id
        - account_id
        - name
        - keycloak_name
      title: GroupResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    GroupScopeLinkResponse:
      description: Schema voor een resourcebereik dat aan een groep is gekoppeld.
      properties:
        resource_id:
          format: uuid
          title: resource ID
          type: string
        resource_type:
          title: resource type
          type: string
      required:
        - resource_type
        - resource_id
      title: GroupScopeLinkResponse
      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
    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

````