> For the complete documentation index, see [llms.txt](https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/llms.txt)

# Update an API Client

> PUT /profiles/{profile_id}/api_clients/{client_id}
> 
> Changes `name` and/or `redirect_uris`. `type` and the acting user are fixed at creation. Values are stored as sent.



## Servers
- https://api.iformbuilder.com/exzact/api/v80/[servername]: https://api.iformbuilder.com/exzact/api/v80/[servername]


## Authentication methods
- Oauth2


## Parameters

### Path parameters

- **profile_id** (string)
  id of the profile

- **client_id** (integer)
  id of the API client



### Body: application/json (object)

- **name** (string)

- **redirect_uris** (array[string(uri)])



## Responses
### 200
OK - the updated client.

#### Body: application/json (object)
- **id** (integer)

- **name** (string)

- **client_key** (string)

- **username** (string)
  the user the client acts as

- **type** (array[string])
  grants the client may use; `authorization_code` also allows `refresh_token`

- **redirect_uris** (array[string(uri)])


### 400
Bad Request - the body names neither `name` nor `redirect_uris`, the body names `user_id` or changes `type` (both fixed at creation; an unchanged `type` may ride along), `name` is empty, over 100 characters or a reserved name (`TASKWORKER`, `PUBLICLINKAPI`, `FLATTENTASKAPI`), `redirect_uris` holds a value that is not an absolute http(s) URL, or `redirect_uris` is empty while the client's `type` includes `authorization_code`.

### 401
Unauthorized - missing or invalid bearer token.

### 403
Forbidden - the token belongs to a BASIC user, or `profile_id` is not the caller's own profile.

### 404
Not Found - no such client in the profile.


[Powered by Bump.sh](https://bump.sh)
