cURL
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>" } }
Endpoint to lock the assistant