Create Secret
POST
/admin/automations/secrets
const url = 'http://localhost:9000/admin/automations/secrets';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"label":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:9000/admin/automations/secrets \ --header 'Content-Type: application/json' \ --data '{ "label": "example" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
label
required
string
Example generated
{ "label": "example"}Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}