API Reference
Topic Board User
Link user
code examples curl location globoff request put 'https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/extensions/users/link' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ data raw '{ "existinguserid" "john\@doe com", "unlinkeduser" "john\@doe net" }'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var raw = json stringify({ "existinguserid" "john\@doe com", "unlinkeduser" "john\@doe net" }); var requestoptions = { method 'put', headers myheaders, body raw, redirect 'follow' }; fetch("https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/extensions/users/link", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/extensions/users/link") https = net http new(url host, url port) https use ssl = true request = net http put new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" request body = json dump({ "existinguserid" "john\@doe com", "unlinkeduser" "john\@doe net" }) response = https request(request) puts response read body import requests import json url = "https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/extensions/users/link" payload = json dumps({ "existinguserid" "john\@doe com", "unlinkeduser" "john\@doe net" }) headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("put", url, headers=headers, data=payload) print(response text) responses // ok { "name" "john doe", "id" "john\@doe com", "unlinked" false }