# Delegate hub

Hub sessions and counts, companies, delegate accounts, briefings, actions and connections.

Base URL: https://api.audiobly.com

### PATCH /v1/delegate-accounts/{account_id}

Update account

Update a delegate's own profile, networking choice, listing (`directory_listed`,
`show_company`) and email choices (`email_preferences`); only the fields sent change.
Profile corrections are copied to the delegate's attendee records. `talk_about` is shown on
the directory listing. `directory_listed: false` takes the delegate out of every event's
directory and closes them to connection requests; `show_company: false` hides their
company on the listing and on the hub's companies list. `email_preferences.news: false` is
the same as unsubscribing. Requires the
organisation's API key (403 API_KEY_REQUIRED).

Scope: prep_manage

Parameters:

- `account_id` (path, string (uuid), required)

Body (JSON):

- `country` (string): The country, as a name or two-letter code.
- `first_name` (string): Given name.
- `last_name` (string): Family name.
- `job_title` (string): The person's job title.
- `company` (string): Name of the person's employer.
- `networking` (boolean)
- `networking_wording_version` (string)
- `honorific` (string): Title used before the name, such as Dr or Prof.
- `company_website` (string): The employer's website address; supplying it lets Audiobly fill in the company profile.
- `bio` (string): Short biography shown on the event page.
- `social_links` (object): Social profile links, as an object of network name to address.
- `talk_about` (string)
- `directory_listed` (boolean)
- `show_company` (boolean)
- `email_preferences` (DelegateEmailPreferencesUpdate)

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.
