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

# Access profile update

## Endpoint

`PUT https://gateway.orkeia.ai/access-profiles/{id}`

## Cabeçalhos

```
authorization:  <su_token>
Content-Type: application/json
```

## Parámetros de Camino

```json theme={null}
{
  "id": "id del perfil",
}
```

| Nombre | Tipo   | Obligatorio | Descripción             |
| ------ | ------ | ----------- | ----------------------- |
| id     | string | Sí          | ID del perfil de acceso |

## Cuerpo de la Solicitud (JSON)

```json theme={null}
{
  "name": "Perfil Actualizado",
  "description": "Nueva descripción"
}
```

## Respuestas

### Response - Success

```json response theme={null}
{
  "status": "OK",
  "data": { "id": "string_id"}
}
```

### 500 — Bad Request

```json theme={null}
{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}
```

### 400 — Client Error

```json theme={null}
{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}
```

## Ejemplo (cURL)

```bash theme={null}
curl -X PUT "https://gateway.orkeia.ai/access-profile/1"   -H "authorization:  <su_token>"   -H "Content-Type: application/json"   -d '{ "name": "Perfil Actualizado", "description": "Nueva descripción" }'
```
