Update
client.projects.brief.update(stringprojectID, BriefUpdateParams { body, enabled, referenceAssetIds, sensitivity } body, RequestOptionsoptions?): BriefUpdateResponse { brief }
PUT/projects/{projectId}/brief
Update
import Scenario from '@scenario-labs/sdk';
const client = new Scenario({
apiKey: process.env['SCENARIO_SDK_API_KEY'], // This is the default and can be omitted
apiSecret: process.env['SCENARIO_SDK_API_SECRET'], // This is the default and can be omitted
});
const brief = await client.projects.brief.update('projectId', { body: 'x' });
console.log(brief.brief);{
"brief": {
"id": "id",
"body": "body",
"createdAt": "createdAt",
"createdBy": "createdBy",
"enabled": true,
"level": "project",
"referenceAssetIds": [
"string"
],
"scopeId": "scopeId",
"updatedAt": "updatedAt",
"sensitivity": "high"
}
}Returns Examples
{
"brief": {
"id": "id",
"body": "body",
"createdAt": "createdAt",
"createdBy": "createdBy",
"enabled": true,
"level": "project",
"referenceAssetIds": [
"string"
],
"scopeId": "scopeId",
"updatedAt": "updatedAt",
"sensitivity": "high"
}
}