Skip to main content
PUT
https://catalystapi.superdashhq.com/api
/
v1
/
assistants
/
updateAssistantVisibility
/
{workspaceId}
/
{assistantId}
Lock Assistant
curl --request PUT \
  --url https://catalystapi.superdashhq.com/api/v1/assistants/updateAssistantVisibility/{workspaceId}/{assistantId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "locked": true
}'
{
    "success": true,
    "assistant": {
        "id": "<Assistant ID>",
        "locked": "<locked status>"
    }
}

Authorizations

x-api-key
string
required
API key associated with your workspace

Path Parameters

workspaceId
string
required
UUID of the workspace
assistantId
string
required
UUID of the Assistant

Body Parameters

locked
boolean
required
The locked status of the assistant

Response

{
    "success": true,
    "assistant": {
        "id": "<Assistant ID>",
        "locked": "<locked status>"
    }
}