Skip to main content
PUT
/
api
/
admin
/
tool
/
{id}
Update tool
curl --request PUT \
  --url https://pria.praxislxp.com/api/admin/tool/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "type": "<string>",
  "schema": {},
  "endpoint": "<string>",
  "status": "active",
  "institution": "<string>"
}
'
{
  "success": true,
  "message": "User institution deleted successfully"
}

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

Tool ID

Body

application/json
name
string
required

Tool name

description
string
required

Tool description

type
string

Tool type

schema
object

Tool JSON schema

endpoint
string

Tool endpoint URL

status
enum<string>
default:active
Available options:
active,
inactive
institution
string

Institution ID

Response

Tool updated successfully

success
boolean
Example:

true

message
string

Success message

Example:

"User institution deleted successfully"