/api/v1/type-fields/{id}/convert
POST
/api/v1/type-fields/{id}/convert
const url = 'https://example.com/api/v1/type-fields/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/convert';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"toSecret":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/type-fields/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/convert \ --header 'Content-Type: application/json' \ --data '{ "toSecret": true }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
converted
required
integer
toNotes
required
integer
Examplegenerated
{ "converted": 1, "toNotes": 1}