Update an API Client

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

Path parameters

  • profile_id string Required

    id of the profile

  • client_id integer Required

    id of the API client

application/json

Body Required

  • name string

    Maximum length is 100.

  • redirect_uris array[string(uri)]

Responses

  • 200 application/json

    OK - the updated client.

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

      Values are jwt-bearer, authorization_code, or password.

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

PUT /profiles/{profile_id}/api_clients/{client_id}
curl \
 --request PUT 'https://api.iformbuilder.com/exzact/api/v80/[servername]/profiles/self/api_clients/15' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{
  "name": "Field app (staging)",
  "redirect_uris": [
    "https://staging.example.com/oauth/callback"
  ]
}'
Request example
{
  "name": "Field app (staging)",
  "redirect_uris": [
    "https://staging.example.com/oauth/callback"
  ]
}
Response examples (200)
{
  "id": 42,
  "name": "string",
  "client_key": "string",
  "username": "string",
  "type": [
    "jwt-bearer"
  ],
  "redirect_uris": [
    "https://example.com"
  ]
}