import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
const _package = await client.credentials.packages.create({ packageName: 'packageName' });
console.log(_package.data);{
"success": true,
"message": "<string>",
"data": {
"packageName": "<string>"
}
}import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
const _package = await client.credentials.packages.create({ packageName: 'packageName' });
console.log(_package.data);{
"success": true,
"message": "<string>",
"data": {
"packageName": "<string>"
}
}Bearer token via Authorization header
Was this page helpful?