Create a source file tag
post/tags
Creates a tag for a source file.
1{2 "description": "Files that contain confidential information.",3 "id": "123e4567-e89b-12d3-a456-426614174000",4 "insertTimestamp": "2025-12-12T19:48:53.448286+00:00",5 "metadata": {},6 "name": "confidential",7 "updateTimestamp": "2025-12-12T19:48:53.448286+00:00"8}The model for a source file request.
| Name | Type | Required | Description |
|---|---|---|---|
description | string or null | false | The description of the source file tag. |
metadata | Metadata or null | false | The metadata associated with the source file tag. |
name | string | true | The name of the source file tag. |
sourceId | string or null | false | The ID used to set a local source tag. If unset, the tag will be global. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 201 | Created | A tag was created. | Headers | Schema |
| 400 | Bad Request | The request was invalid. | Schema | |
| 401 | Unauthorized | The user was not authenticated. | Schema | |
| 422 | Unprocessable Entity | The server understands the request but was unable to process the contained instructions. | Schema |