Reset an API Client Secret

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "iFormBuilder V80 MCP server": {
    "url": "https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/mcp"
  }
}

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

Path parameters

  • profile_id string Required

    id of the profile

  • client_id integer Required

    id of the API client

Responses

  • 200 application/json

    OK - the new secret, in this response only.

    Hide response attributes Show response attributes 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.

POST /profiles/{profile_id}/api_clients/{client_id}/reset_secret
curl \
 --request POST 'https://api.iformbuilder.com/exzact/api/v80/[servername]/profiles/self/api_clients/15/reset_secret' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id": 15,
  "client_key": "9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d",
  "client_secret": "1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c"
}