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

# Reset an API Client Secret

> POST /profiles/{profile_id}/api_clients/{client_id}/reset_secret
> 
> Replaces the client secret and revokes the access and refresh tokens issued to the client. The old secret stops minting tokens at once. The client key and the acting user do not change.



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




## Responses
### 200
OK - the new secret, in this response only.

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

- **client_key** (string)

- **client_secret** (string)


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