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

# Update Access Profile

> Updates a specific access profile.

## Endpoint

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

## Headers

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

## Path Parameters

```json theme={null}
{
  "id": "profile id",
}
```

| Name | Type   | Required | Description              |
| ---- | ------ | -------- | ------------------------ |
| id   | string | Yes      | ID of the access profile |

## Request Body (JSON)

```json theme={null}
{
  "name": "Updated Profile",
  "description": "New description"
}
```

## Responses

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

## Example (cURL)

```bash theme={null}
curl -X PUT "https://gateway.orkeia.ai/access-profile/1"   -H "authorization:  <your_token>"   -H "Content-Type: application/json"   -d '{ "name": "Updated Profile", "description": "New description" }'
```
