> ## 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.

# Atualizar Perfil de Acesso

> Atualiza um perfil de acesso específico.

## Endpoint

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

## Cabeçalhos

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

## Parâmetros de Caminho

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

| Nome | Tipo   | Obrigatório | Descrição              |
| ---- | ------ | ----------- | ---------------------- |
| id   | string | Sim         | ID do perfil de acesso |

## Corpo da Requisição (JSON)

```json theme={null}
{
  "name": "Perfil Atualizado",
  "description": "Nova descrição"
}
```

## Respostas

### 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
}
```

## Exemplo (cURL)

```bash theme={null}
curl -X PUT "https://gateway.orkeia.ai/access-profile/1"   -H "authorization:  <seu_token>"   -H "Content-Type: application/json"   -d '{ "name": "Perfil Atualizado", "description": "Nova descrição" }'
```
