## Update Tags

`models.update_tags(strmodel_id, ModelUpdateTagsParams**kwargs)  -> ModelUpdateTagsResponse`

**put** `/models/{modelId}/tags`

Add/delete tags for the given `modelId`

### Parameters

- `model_id: str`

- `project_id: Optional[str]`

  The projectId used for ownership resource management. Either to assert ownership or to set the owner of the resource(s)

- `add: Optional[Sequence[str]]`

  The list of tags to add

- `delete: Optional[Sequence[str]]`

  The list of tags to delete

- `strict: Optional[bool]`

  If true, the function will throw an error if:

  - one of the tags to add already exists
  - one of the tags to delete is not found
    If false, the endpoint will behave as if it was idempotent

### Returns

- `class ModelUpdateTagsResponse: …`

  - `added: List[str]`

    The list of added tags

  - `deleted: List[str]`

    The list of deleted tags

### Example

```python
import os
from scenario_sdk import Scenario

client = Scenario(
    api_key=os.environ.get("SCENARIO_SDK_API_KEY"),  # This is the default and can be omitted
    api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"),  # This is the default and can be omitted
)
response = client.models.update_tags(
    model_id="modelId",
)
print(response.added)
```

#### Response

```json
{
  "added": [
    "string"
  ],
  "deleted": [
    "string"
  ]
}
```
