> For the complete documentation index, see [llms.txt](https://detected.gitbook.io/detected-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://detected.gitbook.io/detected-docs/portal-configurations.md).

# Portal Configurations

Portal configurations for your account, and the configuration applied to a profile.

## List portal configurations

> Returns the portal configurations for your account. A portal configuration defines what a profile's onboarding portal asks for.

```json
{"openapi":"3.0.0","info":{"title":"Detected API","version":"v2"},"tags":[{"name":"Portal Configurations","description":"Portal configurations for your account, and the configuration applied to a profile."}],"servers":[{"url":"https://api.detected.app/api/v2/public","description":"Production"}],"security":[{"AccessToken":[]}],"components":{"securitySchemes":{"AccessToken":{"type":"http","description":"The API uses OAuth 2.0. Request an access token from `POST /oauth/token` with the client ID and client secret of your integration client, and your account slug. Send the access token in the `Authorization` header of every request, in the format `Authorization: Bearer <access_token>`. The access token carries the scopes set on your integration client in the dashboard. Access tokens expire. When one expires, request a new one.","bearerFormat":"OAuth 2.0 access token","scheme":"bearer"}},"headers":{"X-RateLimit-Limit":{"description":"Maximum number of requests allowed in the rate limit window.","schema":{"type":"number","nullable":false}},"X-RateLimit-Remaining":{"description":"Number of requests remaining in the current rate limit window.","schema":{"type":"number","nullable":false}},"Retry-After":{"description":"Number of seconds to wait before making another request. Returned when the rate limit has been reached.","schema":{"type":"number","nullable":false}},"X-RateLimit-Reset":{"description":"Unix timestamp (in seconds) at which the rate limit resets. Returned when the rate limit has been reached.","schema":{"type":"number","nullable":false}}},"schemas":{"PortalConfigurationResponse":{"title":"Portal Configuration Resource","required":["id","name","updated_at","created_at"],"properties":{"id":{"description":"Portal configuration ID.","type":"number","nullable":false},"name":{"description":"Portal configuration name.","type":"string","nullable":false},"updated_at":{"description":"Date and time the portal configuration was last updated.","type":"string","nullable":false},"created_at":{"description":"Date and time the portal configuration was created.","type":"string","nullable":false}},"type":"object"}},"responses":{"401":{"description":"Unauthorized. The access token is missing, invalid or has expired.","content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}},"429":{"description":"Too Many Requests. You have exceeded the rate limit. Wait for the number of seconds given in the `Retry-After` header before trying again.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}}}},"paths":{"/portal-configurations":{"get":{"tags":["Portal Configurations"],"summary":"List portal configurations","description":"Returns the portal configurations for your account. A portal configuration defines what a profile's onboarding portal asks for.","operationId":"7c516bba53bf008a904b5d2160d349f9","parameters":[{"name":"id","in":"query","description":"Filter by portal configuration ID. If a match is found, only that configuration is returned.","schema":{"type":"integer"}},{"name":"name","in":"query","description":"Filter by portal configuration name.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"}},"content":{"application/json":{"schema":{"properties":{"data":{"description":"The portal configurations for your account.","type":"array","items":{"$ref":"#/components/schemas/PortalConfigurationResponse"}}},"type":"object"}}}},"401":{"$ref":"#/components/responses/401"},"429":{"$ref":"#/components/responses/429"}}}}}}
```

## Retrieve a profile portal configuration

> Returns the portal configuration currently assigned to a profile, with the detail of every setting. \`GET /portal-configurations\` lists the available configurations. This endpoint shows the settings applied to one profile.

```json
{"openapi":"3.0.0","info":{"title":"Detected API","version":"v2"},"tags":[{"name":"Portal Configurations","description":"Portal configurations for your account, and the configuration applied to a profile."}],"servers":[{"url":"https://api.detected.app/api/v2/public","description":"Production"}],"security":[{"AccessToken":[]}],"components":{"securitySchemes":{"AccessToken":{"type":"http","description":"The API uses OAuth 2.0. Request an access token from `POST /oauth/token` with the client ID and client secret of your integration client, and your account slug. Send the access token in the `Authorization` header of every request, in the format `Authorization: Bearer <access_token>`. The access token carries the scopes set on your integration client in the dashboard. Access tokens expire. When one expires, request a new one.","bearerFormat":"OAuth 2.0 access token","scheme":"bearer"}},"parameters":{"uuid":{"name":"uuid","in":"path","description":"UUID of the item named in the path, for example the profile in `/profiles/{uuid}` or the representative in `/representatives/{uuid}`.","required":true,"schema":{"type":"string","nullable":false}}},"headers":{"X-RateLimit-Limit":{"description":"Maximum number of requests allowed in the rate limit window.","schema":{"type":"number","nullable":false}},"X-RateLimit-Remaining":{"description":"Number of requests remaining in the current rate limit window.","schema":{"type":"number","nullable":false}},"Retry-After":{"description":"Number of seconds to wait before making another request. Returned when the rate limit has been reached.","schema":{"type":"number","nullable":false}},"X-RateLimit-Reset":{"description":"Unix timestamp (in seconds) at which the rate limit resets. Returned when the rate limit has been reached.","schema":{"type":"number","nullable":false}}},"schemas":{"ProfilePortalConfigurationResourceResponse":{"title":"Profile Portal Configuration Response","properties":{"declaratory":{"description":"Declaratory settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"text":{"description":"Text of the declaration shown to the representative who submits the profile.","type":"string","nullable":true}},"type":"object","nullable":false},"document":{"description":"Document settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"documents":{"description":"List of documents.","type":"array","items":{"properties":{"uuid":{"description":"UUID of the document.","type":"string","nullable":false},"name":{"description":"Name of the document.","type":"string","nullable":false},"description":{"description":"Description of the document.","type":"string","nullable":false},"required":{"description":"Whether the customer must provide the document.","type":"boolean","nullable":false},"example_document":{"description":"Example of the document, shown to the customer.","type":"array","items":{"properties":{"options":{"description":"Example document options.","type":"array","items":{"type":"string"},"nullable":true},"document":{"description":"Example Document.","type":"string","nullable":false}},"type":"object"}}},"type":"object"}}},"type":"object","nullable":false},"advanced_documents":{"description":"Advanced documents settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"config_ids":{"description":"IDs of the advanced document configurations.","type":"array","items":{"type":"number"},"nullable":true}},"type":"object","nullable":true},"identity":{"description":"Identity settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false}},"type":"object","nullable":false},"director":{"description":"Director settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"enable_director_country_of_birth":{"description":"Whether the country of birth is collected for each director.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"max_number":{"description":"Maximum number of directors that can be added.","type":"number","nullable":true},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"director_company":{"description":"Company director settings.","properties":{"max_number":{"description":"Maximum number of company directors that can be added.","type":"number","nullable":true},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false}},"type":"object","nullable":false}},"type":"object","nullable":false},"submitter":{"description":"Submitter settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false}},"type":"object","nullable":false},"ownership":{"description":"Ownership settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"enable_ownership_percentage":{"description":"Whether the ownership percentage is collected for each owner.","type":"boolean","nullable":false},"enable_owner_country_of_birth":{"description":"Whether the country of birth is collected for each owner.","type":"boolean","nullable":false},"ownership_percentage":{"description":"Ownership percentage at or above which a representative is treated as an owner.","type":"string","nullable":false},"max_number":{"description":"Maximum number of owners that can be added.","type":"number","nullable":true},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false}},"type":"object","nullable":false},"company_principals":{"description":"Company principal settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of company principals that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"authorised_representative":{"description":"Authorised representative settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of authorised representatives that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"authorised_signatory":{"description":"Authorised signatory settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of authorised signatories that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"treasurer":{"description":"Treasurer settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of treasurers that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"secretary":{"description":"Secretary settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of secretaries that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"syndicator":{"description":"Syndicator settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of syndicators that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"member":{"description":"Member settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of members that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"agent":{"description":"Agent settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of agents that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"designated_member":{"description":"Designated member settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of designated members that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"club_manager":{"description":"Club manager settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of club managers that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"trustee":{"description":"Trustee settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"max_number":{"description":"Maximum number of trustees that can be added.","type":"number","nullable":true},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"trustee_company":{"description":"Trustee company settings.","properties":{"max_number":{"description":"Maximum number of trustee companies that can be added.","type":"number","nullable":true},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false}},"type":"object","nullable":false}},"type":"object","nullable":false},"partner":{"description":"Partner settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"max_number":{"description":"Maximum number of partners that can be added.","type":"number","nullable":true},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"partner_company":{"description":"Partner company settings.","properties":{"max_number":{"description":"Maximum number of partner companies that can be added.","type":"number","nullable":true},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false}},"type":"object","nullable":false}},"type":"object","nullable":false},"syndicate_manager":{"description":"Syndicate manager settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of syndicate managers that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"individual":{"description":"Individual representative settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of individual representatives that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"lead_partner":{"description":"Lead partner settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of lead partners that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"additional_locations":{"description":"Additional locations settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false}},"type":"object","nullable":false},"entities":{"description":"Entities settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false}},"type":"object","nullable":false},"forms":{"description":"Forms settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"form_ids":{"description":"List of form IDs.","type":"array","items":{"type":"number"},"nullable":true}},"type":"object","nullable":false}},"type":"object"}},"responses":{"401":{"description":"Unauthorized. The access token is missing, invalid or has expired.","content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}},"404":{"description":"Not Found. The requested resource does not exist, or is not available to your account.","content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}},"429":{"description":"Too Many Requests. You have exceeded the rate limit. Wait for the number of seconds given in the `Retry-After` header before trying again.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}}}},"paths":{"/profiles/{uuid}/portal-configuration":{"get":{"tags":["Portal Configurations"],"summary":"Retrieve a profile portal configuration","description":"Returns the portal configuration currently assigned to a profile, with the detail of every setting. `GET /portal-configurations` lists the available configurations. This endpoint shows the settings applied to one profile.","operationId":"ac246af0e146fbcf0c961485660d3b0e","parameters":[{"$ref":"#/components/parameters/uuid"}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"}},"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/ProfilePortalConfigurationResourceResponse"}},"type":"object"}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"429":{"$ref":"#/components/responses/429"}}}}}}
```

## Update a profile portal configuration

> Updates the portal configuration assigned to a profile. Currently you can only update the forms assigned to the configuration. More options will be added over time.\
> \
> To remove all forms from the configuration, set \`forms.form\_ids\` to \`null\`. See the examples.

```json
{"openapi":"3.0.0","info":{"title":"Detected API","version":"v2"},"tags":[{"name":"Portal Configurations","description":"Portal configurations for your account, and the configuration applied to a profile."}],"servers":[{"url":"https://api.detected.app/api/v2/public","description":"Production"}],"security":[{"AccessToken":[]}],"components":{"securitySchemes":{"AccessToken":{"type":"http","description":"The API uses OAuth 2.0. Request an access token from `POST /oauth/token` with the client ID and client secret of your integration client, and your account slug. Send the access token in the `Authorization` header of every request, in the format `Authorization: Bearer <access_token>`. The access token carries the scopes set on your integration client in the dashboard. Access tokens expire. When one expires, request a new one.","bearerFormat":"OAuth 2.0 access token","scheme":"bearer"}},"parameters":{"uuid":{"name":"uuid","in":"path","description":"UUID of the item named in the path, for example the profile in `/profiles/{uuid}` or the representative in `/representatives/{uuid}`.","required":true,"schema":{"type":"string","nullable":false}}},"schemas":{"ProfilePortalConfigurationUpdateRequest":{"title":"Profile Portal Configuration Update Request","properties":{"forms":{"description":"Form settings for the portal configuration.","properties":{"enabled":{"description":"Whether the forms section is shown in the portal.","type":"boolean","nullable":false},"form_ids":{"description":"IDs of the forms to assign to the configuration, or `null` to remove all forms.","type":"array","items":{"type":"number"},"nullable":true}},"type":"object","nullable":false}},"type":"object"},"ProfilePortalConfigurationResourceResponse":{"title":"Profile Portal Configuration Response","properties":{"declaratory":{"description":"Declaratory settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"text":{"description":"Text of the declaration shown to the representative who submits the profile.","type":"string","nullable":true}},"type":"object","nullable":false},"document":{"description":"Document settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"documents":{"description":"List of documents.","type":"array","items":{"properties":{"uuid":{"description":"UUID of the document.","type":"string","nullable":false},"name":{"description":"Name of the document.","type":"string","nullable":false},"description":{"description":"Description of the document.","type":"string","nullable":false},"required":{"description":"Whether the customer must provide the document.","type":"boolean","nullable":false},"example_document":{"description":"Example of the document, shown to the customer.","type":"array","items":{"properties":{"options":{"description":"Example document options.","type":"array","items":{"type":"string"},"nullable":true},"document":{"description":"Example Document.","type":"string","nullable":false}},"type":"object"}}},"type":"object"}}},"type":"object","nullable":false},"advanced_documents":{"description":"Advanced documents settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"config_ids":{"description":"IDs of the advanced document configurations.","type":"array","items":{"type":"number"},"nullable":true}},"type":"object","nullable":true},"identity":{"description":"Identity settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false}},"type":"object","nullable":false},"director":{"description":"Director settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"enable_director_country_of_birth":{"description":"Whether the country of birth is collected for each director.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"max_number":{"description":"Maximum number of directors that can be added.","type":"number","nullable":true},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"director_company":{"description":"Company director settings.","properties":{"max_number":{"description":"Maximum number of company directors that can be added.","type":"number","nullable":true},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false}},"type":"object","nullable":false}},"type":"object","nullable":false},"submitter":{"description":"Submitter settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false}},"type":"object","nullable":false},"ownership":{"description":"Ownership settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"enable_ownership_percentage":{"description":"Whether the ownership percentage is collected for each owner.","type":"boolean","nullable":false},"enable_owner_country_of_birth":{"description":"Whether the country of birth is collected for each owner.","type":"boolean","nullable":false},"ownership_percentage":{"description":"Ownership percentage at or above which a representative is treated as an owner.","type":"string","nullable":false},"max_number":{"description":"Maximum number of owners that can be added.","type":"number","nullable":true},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false}},"type":"object","nullable":false},"company_principals":{"description":"Company principal settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of company principals that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"authorised_representative":{"description":"Authorised representative settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of authorised representatives that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"authorised_signatory":{"description":"Authorised signatory settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of authorised signatories that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"treasurer":{"description":"Treasurer settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of treasurers that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"secretary":{"description":"Secretary settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of secretaries that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"syndicator":{"description":"Syndicator settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of syndicators that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"member":{"description":"Member settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of members that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"agent":{"description":"Agent settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of agents that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"designated_member":{"description":"Designated member settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of designated members that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"club_manager":{"description":"Club manager settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of club managers that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"trustee":{"description":"Trustee settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"max_number":{"description":"Maximum number of trustees that can be added.","type":"number","nullable":true},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"trustee_company":{"description":"Trustee company settings.","properties":{"max_number":{"description":"Maximum number of trustee companies that can be added.","type":"number","nullable":true},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false}},"type":"object","nullable":false}},"type":"object","nullable":false},"partner":{"description":"Partner settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"max_number":{"description":"Maximum number of partners that can be added.","type":"number","nullable":true},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"partner_company":{"description":"Partner company settings.","properties":{"max_number":{"description":"Maximum number of partner companies that can be added.","type":"number","nullable":true},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false}},"type":"object","nullable":false}},"type":"object","nullable":false},"syndicate_manager":{"description":"Syndicate manager settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of syndicate managers that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"individual":{"description":"Individual representative settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of individual representatives that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"lead_partner":{"description":"Lead partner settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"people_model":{"description":"Representative model ID.","properties":{"id":{"description":"Model ID.","type":"number","nullable":true}},"type":"object","nullable":false},"auto_screening":{"description":"Whether representatives added in this section are screened automatically.","type":"boolean","nullable":false},"max_number":{"description":"Maximum number of lead partners that can be added.","type":"number","nullable":true}},"type":"object","nullable":false},"additional_locations":{"description":"Additional locations settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false}},"type":"object","nullable":false},"entities":{"description":"Entities settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false}},"type":"object","nullable":false},"forms":{"description":"Forms settings.","properties":{"enabled":{"description":"Whether this section is shown in the portal.","type":"boolean","nullable":false},"form_ids":{"description":"List of form IDs.","type":"array","items":{"type":"number"},"nullable":true}},"type":"object","nullable":false}},"type":"object"}},"headers":{"X-RateLimit-Limit":{"description":"Maximum number of requests allowed in the rate limit window.","schema":{"type":"number","nullable":false}},"X-RateLimit-Remaining":{"description":"Number of requests remaining in the current rate limit window.","schema":{"type":"number","nullable":false}},"Retry-After":{"description":"Number of seconds to wait before making another request. Returned when the rate limit has been reached.","schema":{"type":"number","nullable":false}},"X-RateLimit-Reset":{"description":"Unix timestamp (in seconds) at which the rate limit resets. Returned when the rate limit has been reached.","schema":{"type":"number","nullable":false}}},"responses":{"401":{"description":"Unauthorized. The access token is missing, invalid or has expired.","content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}},"404":{"description":"Not Found. The requested resource does not exist, or is not available to your account.","content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}},"429":{"description":"Too Many Requests. You have exceeded the rate limit. Wait for the number of seconds given in the `Retry-After` header before trying again.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}}}},"paths":{"/profiles/{uuid}/portal-configuration":{"patch":{"tags":["Portal Configurations"],"summary":"Update a profile portal configuration","description":"Updates the portal configuration assigned to a profile. Currently you can only update the forms assigned to the configuration. More options will be added over time.\n\nTo remove all forms from the configuration, set `forms.form_ids` to `null`. See the examples.","operationId":"1175fa5ebfe28c414632bed7ebf0b0bf","parameters":[{"$ref":"#/components/parameters/uuid"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfilePortalConfigurationUpdateRequest"}}}},"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"}},"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/ProfilePortalConfigurationResourceResponse"}},"type":"object"}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"429":{"$ref":"#/components/responses/429"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://detected.gitbook.io/detected-docs/portal-configurations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
