---
title: "Update a contact profile"
description: "Change a contact profile's Agent, line, template, texts, contact hours, name or metadata. Omitted fields stay and `null` clears one. The channel type never changes: a field of the other type fails with CHANNEL_TYPE_MISMATCH. Conversations already started keep what they started with.\n\n- **Scope:** `raiz:profiles:write`\n- **Credentials:** an API key, a client-credentials token or a person's access token\n- **Effect:** writes; idempotent, safe to retry\n- **Limits:** request body up to 32 KB, response up to 1 MB\n- **CLI:** `arbol raiz profiles update` · **MCP tool:** `raiz_profiles_update`"
---

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

Path: Raíz API › Profiles

`PATCH /v1/raiz/profiles/{profileId}`

Change a contact profile's Agent, line, template, texts, contact hours, name or metadata. Omitted fields stay and `null` clears one. The channel type never changes: a field of the other type fails with CHANNEL_TYPE_MISMATCH. Conversations already started keep what they started with.

- **Scope:** `raiz:profiles:write`
- **Credentials:** an API key, a client-credentials token or a person's access token
- **Effect:** writes; idempotent, safe to retry
- **Limits:** request body up to 32 KB, response up to 1 MB
- **CLI:** `arbol raiz profiles update` · **MCP tool:** `raiz_profiles_update`

## Authentication

Requires one of the following:

- `arbolHuman`, oauth2, scopes: `raiz:profiles:write`
- `arbolMachine`, oauth2, scopes: `raiz:profiles:write`
- `arbolApiKey`, http, header `Authorization`

## Path parameters

- `profileId` (`raiz.profiles.update.path.profileId`; string, required) — Communication profile id.
  - pattern `^prf_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$`

## Request body

_Required._

- `agentId` (`raiz.profiles.update.agentId`; string, optional) — Agent id.
  - pattern `^agt_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$`
- `channelId` (`raiz.profiles.update.channelId`; string | null, optional) — The line to contact from, of the profile's channel type. Null: the Agent's own channel; for calls, then the platform's shared line.
  - pattern `^(?:chn_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))|(?:agc)_(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$`
- `contactHours` (`raiz.profiles.update.contactHours`; array<object>, optional) — When a conversation may start, in the profile's time zone. Empty: any time. Outside them `createConversation` fails with OUTSIDE_CONTACT_HOURS and nothing is sent.
  - `days` (`raiz.profiles.update.contactHours.days`; array<string>, required)
    - one of `"MO"`, `"TU"`, `"WE"`, `"TH"`, `"FR"`, `"SA"`, `"SU"`
  - `from` (`raiz.profiles.update.contactHours.from`; string, required) — Local start time, `HH:MM`, inclusive.
    - pattern `^([01][0-9]|2[0-3]):[0-5][0-9]$`
  - `to` (`raiz.profiles.update.contactHours.to`; string, required) — Local end time, `HH:MM`, exclusive (`24:00` for midnight).
    - pattern `^(([01][0-9]|2[0-3]):[0-5][0-9]|24:00)$`
- `expectedVersion` (`raiz.profiles.update.expectedVersion`; integer, optional) — The `version` you read. When present, the change applies only if nobody changed the resource since; otherwise it fails with VERSION_CONFLICT.
  - min 1
- `firstMessage` (`raiz.profiles.update.firstMessage`; string | null, optional) — What the Agent says first on every call, instead of its own first message. May reference request variables as `{{name}}`.
  - minLength 1; maxLength 2000
- `instructions` (`raiz.profiles.update.instructions`; string | null, optional) — What these calls are about, added to the Agent's instructions on every call. May reference request variables as `{{name}}`.
  - minLength 1; maxLength 8000
- `metadata` (`raiz.profiles.update.metadata`; object, optional) — Your own keys and labels for this resource (up to 50 keys of 40 characters; values up to 500 characters). Raíz never interprets them.
- `name` (`raiz.profiles.update.name`; string, optional) — What the profile is for, as people read it.
  - minLength 1; maxLength 200
- `template` (`raiz.profiles.update.template`; object, optional) — The approved template that opens every conversation. WhatsApp allows a business to start a conversation only with one.
  - `language` (`raiz.profiles.update.template.language`; string, required) — The template's language: WhatsApp's code (`es`, `es_MX`) or a BCP 47 tag (`es-MX`).
    - minLength 2; maxLength 15
  - `name` (`raiz.profiles.update.template.name`; string, required) — An approved template of the channel's WhatsApp Business Account. Its body may have variables; header media and button parameters are not supported.
    - minLength 1; maxLength 512
  - `parameters` (`raiz.profiles.update.template.parameters`; array<string>, optional) — The template's body parameters, in order. Each is a text that may reference the request's `variables` as `{{name}}`, for example `{{patient_name}}` or `Dr. {{doctor}}`.
    - maxLength 1024
- `timeZone` (`raiz.profiles.update.timeZone`; string | null, optional) — IANA time zone of the contact hours. Null: the organization's.
  - maxLength 64; pattern `^[A-Za-z]+(/[A-Za-z0-9_+-]+)*$`

## Example request

```json
{
  "agentId": "agt_01m45h8q2rf3t9w6y7z0b1c2d3",
  "channelId": "chn_01m45h8q2rf3t9w6y7z0b1c2d3",
  "contactHours": [
    {
      "days": [
        "MO"
      ],
      "from": "09:00",
      "to": "18:00"
    }
  ],
  "expectedVersion": 1,
  "firstMessage": "string",
  "instructions": "string",
  "metadata": {},
  "name": "string",
  "template": {
    "language": "string",
    "name": "string",
    "parameters": [
      "string"
    ]
  },
  "timeZone": "America/Bogota"
}
```

## Code samples

### cURL

```bash
curl https://api.getarbol.com/v1/raiz/profiles/prf_01m45h8q2rf3t9w6y7z0b1c2d3 \
  --request PATCH \
  --header "Authorization: Bearer $ARBOL_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{}'
```

### TypeScript

```typescript
import { createClient } from "@arbol-ai/sdk";

const arbol = createClient({
  baseUrl: "https://api.getarbol.com",
  token: process.env.ARBOL_API_KEY!,
});

const { data } = await arbol.raiz.profiles.update({
  profileId: "prf_01m45h8q2rf3t9w6y7z0b1c2d3",
});
```

### Rust

```rust
use arbol_sdk::{types, Client, Credential};

let arbol = Client::new(Credential::ApiKey(std::env::var("ARBOL_API_KEY")?))?;

let data = arbol
    .raiz()
    .profiles()
    .update(&types::RaizProfilesUpdateInput {
        profile_id: "prf_01m45h8q2rf3t9w6y7z0b1c2d3".into(),
        agent_id: None,
        channel_id: None,
        contact_hours: None,
        expected_version: None,
        first_message: None,
        instructions: None,
        metadata: None,
        name: None,
        template: None,
        time_zone: None,
    })
    .await?;
```

### CLI

```bash
arbol raiz profiles update prf_01m45h8q2rf3t9w6y7z0b1c2d3
```

### MCP

```json
{
  "name": "raiz_profiles_update",
  "arguments": {
    "profileId": "prf_01m45h8q2rf3t9w6y7z0b1c2d3"
  }
}
```

## Responses

### 200

Successful operation.

#### Example

```json
{
  "success": true,
  "data": {
    "agentId": "agt_01m45h8q2rf3t9w6y7z0b1c2d3",
    "agentName": "string",
    "channelId": "chn_01m45h8q2rf3t9w6y7z0b1c2d3",
    "channelType": "voice",
    "contactHours": [
      {
        "days": [
          "MO"
        ],
        "from": "09:00",
        "to": "18:00"
      }
    ],
    "createdAt": "2019-08-24T14:15:22Z",
    "firstMessage": "string",
    "id": "prf_01m45h8q2rf3t9w6y7z0b1c2d3",
    "instructions": "string",
    "line": {
      "address": "string",
      "id": "chn_01m45h8q2rf3t9w6y7z0b1c2d3",
      "name": "string"
    },
    "metadata": {},
    "name": "string",
    "template": {
      "language": "string",
      "name": "string",
      "parameters": [
        "string"
      ]
    },
    "timeZone": "America/Bogota",
    "updatedAt": "2019-08-24T14:15:22Z",
    "version": 1
  },
  "error": null,
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`raiz.profiles.update.response.200.success`; boolean, required)
- `data` (`raiz.profiles.update.response.200.data`; object, required)
  - `agentId` (`raiz.profiles.update.response.200.data.agentId`; string, required) — Agent id.
    - pattern `^agt_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$`
  - `agentName` (`raiz.profiles.update.response.200.data.agentName`; string, required)
  - `channelId` (`raiz.profiles.update.response.200.data.channelId`; string | null, required) — The channel the profile names; null to use its Agent's (see `line`).
    - pattern `^(?:chn_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))|(?:agc)_(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$`
  - `channelType` (`raiz.profiles.update.response.200.data.channelType`; string, required) — How the profile contacts: a call with a voice Agent (`voice`), or a WhatsApp conversation opened with an approved template and held by a text Agent (`whatsapp`). Fixed at creation.
    - one of `"voice"`, `"whatsapp"`
  - `contactHours` (`raiz.profiles.update.response.200.data.contactHours`; array<object>, required) — When a conversation may start, in the profile's time zone. Empty: any time. Outside them `createConversation` fails with OUTSIDE_CONTACT_HOURS and nothing is sent.
    - `days` (`raiz.profiles.update.response.200.data.contactHours.days`; array<string>, required)
      - one of `"MO"`, `"TU"`, `"WE"`, `"TH"`, `"FR"`, `"SA"`, `"SU"`
    - `from` (`raiz.profiles.update.response.200.data.contactHours.from`; string, required) — Local start time, `HH:MM`, inclusive.
      - pattern `^([01][0-9]|2[0-3]):[0-5][0-9]$`
    - `to` (`raiz.profiles.update.response.200.data.contactHours.to`; string, required) — Local end time, `HH:MM`, exclusive (`24:00` for midnight).
      - pattern `^(([01][0-9]|2[0-3]):[0-5][0-9]|24:00)$`
  - `createdAt` (`raiz.profiles.update.response.200.data.createdAt`; string, required) — An instant in RFC 3339 format, in UTC.
    - format `date-time`
  - `firstMessage` (`raiz.profiles.update.response.200.data.firstMessage`; string | null, required) — What the Agent says first on every call, instead of its own first message. May reference request variables as `{{name}}`.
    - minLength 1; maxLength 2000
  - `id` (`raiz.profiles.update.response.200.data.id`; string, required) — Communication profile id.
    - pattern `^prf_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$`
  - `instructions` (`raiz.profiles.update.response.200.data.instructions`; string | null, required) — What these calls are about, added to the Agent's instructions on every call. May reference request variables as `{{name}}`.
    - minLength 1; maxLength 8000
  - `line` (`raiz.profiles.update.response.200.data.line`; object | null, required) — The line conversations start from: the profile's own channel, or for WhatsApp its Agent's oldest line that can send. Null for a voice profile without a channel (each call uses the Agent's own line, else the managed line) or when no line can send.
    - `address` (`raiz.profiles.update.response.200.data.line.address`; string | null, required) — The number, in E.164 form.
    - `id` (`raiz.profiles.update.response.200.data.line.id`; string, required) — The line to contact from, of the profile's channel type. Null: the Agent's own channel; for calls, then the platform's shared line.
      - pattern `^(?:chn_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))|(?:agc)_(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$`
    - `name` (`raiz.profiles.update.response.200.data.line.name`; string | null, required)
  - `metadata` (`raiz.profiles.update.response.200.data.metadata`; object, required) — Your own keys and labels for this resource (up to 50 keys of 40 characters; values up to 500 characters). Raíz never interprets them.
  - `name` (`raiz.profiles.update.response.200.data.name`; string, required)
  - `template` (`raiz.profiles.update.response.200.data.template`; object | null, required) — WhatsApp profiles only.
    - `language` (`raiz.profiles.update.response.200.data.template.language`; string, required) — The template's language: WhatsApp's code (`es`, `es_MX`) or a BCP 47 tag (`es-MX`).
      - minLength 2; maxLength 15
    - `name` (`raiz.profiles.update.response.200.data.template.name`; string, required) — An approved template of the channel's WhatsApp Business Account. Its body may have variables; header media and button parameters are not supported.
      - minLength 1; maxLength 512
    - `parameters` (`raiz.profiles.update.response.200.data.template.parameters`; array<string>, required) — The template's body parameters, in order. Each is a text that may reference the request's `variables` as `{{name}}`, for example `{{patient_name}}` or `Dr. {{doctor}}`.
      - maxLength 1024
  - `timeZone` (`raiz.profiles.update.response.200.data.timeZone`; string | null, required) — IANA time zone of the contact hours. Null: the organization's.
    - maxLength 64; pattern `^[A-Za-z]+(/[A-Za-z0-9_+-]+)*$`
  - `updatedAt` (`raiz.profiles.update.response.200.data.updatedAt`; string, required) — An instant in RFC 3339 format, in UTC.
    - format `date-time`
  - `version` (`raiz.profiles.update.response.200.data.version`; integer, required)
    - min 1
- `error` (`raiz.profiles.update.response.200.error`; null, required)
- `metadata` (`raiz.profiles.update.response.200.metadata`; object, required)
  - `requestId` (`raiz.profiles.update.response.200.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 400

`INVALID_INPUT`: The request does not match the published schema.

#### Example

```json
{
  "error": {
    "code": "INVALID_INPUT"
  }
}
```

- `error` (`raiz.profiles.update.response.400.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 401

`UNAUTHORIZED`: A valid access token is required.

#### Example

```json
{
  "error": {
    "code": "UNAUTHORIZED"
  }
}
```

- `error` (`raiz.profiles.update.response.401.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 403

`FORBIDDEN`: The token does not authorize this operation.

#### Example

```json
{
  "error": {
    "code": "FORBIDDEN"
  }
}
```

- `error` (`raiz.profiles.update.response.403.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 404

- `NOT_FOUND`: The requested operation does not exist.
- `RESOURCE_NOT_FOUND`: The requested resource does not exist in this organization.

#### Example

```json
{
  "error": {
    "code": "NOT_FOUND"
  }
}
```

- `error` (`raiz.profiles.update.response.404.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 405

`HTTP_METHOD_NOT_ALLOWED`: The HTTP method is not supported for this resource.

#### Example

```json
{
  "error": {
    "code": "HTTP_METHOD_NOT_ALLOWED"
  }
}
```

- `error` (`raiz.profiles.update.response.405.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 409

- `CHANNEL_TYPE_MISMATCH`: This operation or field does not apply to this channel's type.
- `VERSION_CONFLICT`: The resource changed after it was read. Read it again and retry with the new version.

#### Example

```json
{
  "error": {
    "code": "CHANNEL_TYPE_MISMATCH"
  }
}
```

- `error` (`raiz.profiles.update.response.409.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 413

`REQUEST_TOO_LARGE`: The request exceeds the allowed size.

#### Example

```json
{
  "error": {
    "code": "REQUEST_TOO_LARGE"
  }
}
```

- `error` (`raiz.profiles.update.response.413.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 415

`UNSUPPORTED_MEDIA_TYPE`: The request content type is not supported.

#### Example

```json
{
  "error": {
    "code": "UNSUPPORTED_MEDIA_TYPE"
  }
}
```

- `error` (`raiz.profiles.update.response.415.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 422

- `TIME_ZONE_UNKNOWN`: The time zone is not in the IANA time zone database.
- `CHANNEL_AGENT_MISMATCH`: This Agent cannot serve this channel: voice channels need a voice Agent; WhatsApp and web channels need a text Agent.

#### Example

```json
{
  "error": {
    "code": "TIME_ZONE_UNKNOWN"
  }
}
```

- `error` (`raiz.profiles.update.response.422.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 429

`RATE_LIMITED`: The request rate limit was exceeded. Try again later.

#### Example

```json
{
  "error": {
    "code": "RATE_LIMITED"
  }
}
```

- `error` (`raiz.profiles.update.response.429.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 500

`INTERNAL_ERROR`: The service could not complete the operation.

#### Example

```json
{
  "error": {
    "code": "INTERNAL_ERROR"
  }
}
```

- `error` (`raiz.profiles.update.response.500.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 502

`OUTCOME_UNKNOWN`: The operation may have been applied; check its result before repeating it.

#### Example

```json
{
  "error": {
    "code": "OUTCOME_UNKNOWN"
  }
}
```

- `error` (`raiz.profiles.update.response.502.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 503

- `UPSTREAM_UNAVAILABLE`: The upstream service could not complete the request.
- `INTEGRATIONS_UNAVAILABLE`: The organization's integrations cannot be read right now. Try again shortly.

#### Example

```json
{
  "error": {
    "code": "UPSTREAM_UNAVAILABLE"
  }
}
```

- `error` (`raiz.profiles.update.response.503.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`

### 504

`UPSTREAM_TIMEOUT`: The upstream service did not respond before its deadline.

#### Example

```json
{
  "error": {
    "code": "UPSTREAM_TIMEOUT"
  }
}
```

- `error` (`raiz.profiles.update.response.504.error`; object, required)
  - any of: `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`


Source: https://docs.getarbol.com/api/raiz/profiles/update/index.md
