---
title: Update a profiles onboarding config
slug: detected-apis/update-a-profiles-onboarding-config
createdAt: 2025-09-16T11:18:22.139Z
---

## Overview

External systems may need to change the onboarding configuration currently assigned to a profile.&#x20;

The API flow is:

- Get all of the available configurations in Detected
- Update the required profile with the required configuration\_id

```mermaid
---
config:
  theme: redux-dark
  look: classic
---
sequenceDiagram
  participant ClientBackend as Clients App
  participant DetectedApis as Detected APIs
    Note over ClientBackend, DetectedApis: Authorisation
  ClientBackend ->> DetectedApis: POST /oauth/token
  DetectedApis -->> ClientBackend: Auth token
  Note over ClientBackend, DetectedApis: Get Available Configurations
  ClientBackend ->> DetectedApis: GET /portal-configurations
    DetectedApis -->> ClientBackend: Portal configurations and references
  Note over ClientBackend, DetectedApis: Assign a configuration to a profile
  ClientBackend ->> DetectedApis: PATCH /profile/{profile-id} (configuration_id)
DetectedApis -->> ClientBackend: 200 ok


```

