Authorizations
Bearer token via Authorization header
Body
application/json
import DroidrunCloud from 'droidrun-cloud';
const client = new DroidrunCloud({
apiKey: 'My API Key',
});
const field = await client.credentials.packages.credentials.fields.create('credentialName', {
packageName: 'packageName',
fieldType: 'email',
value: 'x',
});
console.log(field.data);{
"success": true,
"message": "<string>",
"data": {
"userId": "<string>",
"packageName": "<string>",
"secretPath": "<string>",
"credentialName": "<string>",
"fields": [
{
"fieldType": "email",
"value": "<string>"
}
]
}
}import DroidrunCloud from 'droidrun-cloud';
const client = new DroidrunCloud({
apiKey: 'My API Key',
});
const field = await client.credentials.packages.credentials.fields.create('credentialName', {
packageName: 'packageName',
fieldType: 'email',
value: 'x',
});
console.log(field.data);{
"success": true,
"message": "<string>",
"data": {
"userId": "<string>",
"packageName": "<string>",
"secretPath": "<string>",
"credentialName": "<string>",
"fields": [
{
"fieldType": "email",
"value": "<string>"
}
]
}
}Bearer token via Authorization header
Was this page helpful?