Update Tags
client.models.updateTags(stringmodelID, ModelUpdateTagsParams { add, _delete, strict } body, RequestOptionsoptions?): ModelUpdateTagsResponse { added, deleted }
PUT/models/{modelId}/tags
Add/delete tags for the given modelId
Update Tags
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 response = await client.models.updateTags('modelId');
console.log(response.added);{
"added": [
"string"
],
"deleted": [
"string"
]
}Returns Examples
{
"added": [
"string"
],
"deleted": [
"string"
]
}