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

# Update organization onboarding

> Marks the given onboarding step as completed for an organization. This endpoint uses the same organization read authorization as the onboarding read endpoint: service-account callers with organization read scope can update any organization's onboarding, while user and API-key callers can only update onboarding for their active organization context.



## OpenAPI

````yaml /api-reference/organizations.openapi.json patch /v1/organizations/{org_id}/onboarding
openapi: 3.1.0
info:
  title: organizations
  description: ''
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://api.anthid.com
    description: Production
security: []
tags:
  - name: Organizations
    description: Organizations API
paths:
  /v1/organizations/{org_id}/onboarding:
    patch:
      tags:
        - Organizations
      summary: Update organization onboarding
      description: >-
        Marks the given onboarding step as completed for an organization. This
        endpoint uses the same organization read authorization as the onboarding
        read endpoint: service-account callers with organization read scope can
        update any organization's onboarding, while user and API-key callers can
        only update onboarding for their active organization context.
      operationId: updateOrganizationOnboarding
      parameters:
        - name: org_id
          in: path
          description: Internal organization id
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        description: Onboarding step to mark as completed
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOnboardingRequest'
            example:
              step: ConnectedBroker
        required: true
      responses:
        '204':
          description: Organization onboarding updated
        '400':
          description: Organization id or onboarding step is invalid
          content:
            text/plain:
              schema:
                type: string
        '401':
          description: Missing or invalid authentication credentials
          content:
            text/plain:
              schema:
                type: string
        '403':
          description: Caller cannot update this organization's onboarding
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: Organization onboarding was not found
          content:
            text/plain:
              schema:
                type: string
        '429':
          description: Caller exceeded the request rate limit
          content:
            text/plain:
              schema:
                type: string
        '500':
          description: Unexpected server error while updating the organization onboarding
          content:
            text/plain:
              schema:
                type: string
      security:
        - bearerAuth: []
        - clientCredentials: []
        - apiKeyAuth: []
components:
  schemas:
    UpdateOnboardingRequest:
      type: object
      required:
        - step
      properties:
        step:
          $ref: '#/components/schemas/OnboardingStep'
    OnboardingStep:
      type: string
      enum:
        - ConnectedBroker
        - CreatedApiKey
        - SubmittedFirstOrder
        - ViewedDocs
        - ConfiguredControls
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    clientCredentials:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Machine bearer token minted via the client_credentials grant.
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````