Update a source file with a tag

put/sources/{sourceId}/files/{fileId}/tags/{tagId}

Updates a source file with a tag.

Request Samples

Response Samples

1{
2 "message": "Tag 'confidential' was successfully added to file with id 'f39dad75-a389-469a-a258-4e7295a12b8b'."
3}

Path Parameters

NameTypeRequiredDescription
fileId
string
true

The ID of the file to update the tag for.

sourceId
string
true

The ID of the source the file belongs to.

tagId
string
true

The ID of the tag to update.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid.

Schema
401Unauthorized

The user was not authenticated.

Schema
404Not Found

The specified resource was not found.

Schema
422Unprocessable Entity

The server understands the request but was unable to process the contained instructions.

Schema