# Cloud Storage File Tags

Manage tags attached to cloud storage files

 - [POST /cloudstorage/file/tag/set](https://guide.morelogin.com/api-reference/cloud-storage/open-api/cloud-storage-file-tags/setcloudstoragefiletags.md): Replace the tags on a Cloud Storage file. - **Preconditions**: one `fileId` per call, and `tagIds` must be non-empty and reference Cloud Storage tags belonging to your team. Profile tags are rejected.
 - [POST /cloudstorage/file/tag/add](https://guide.morelogin.com/api-reference/cloud-storage/open-api/cloud-storage-file-tags/addcloudstoragefiletags.md): Add tags to a Cloud Storage file without removing existing ones. - **Preconditions**: one `fileId` per call, and `tagIds` must be non-empty and reference Cloud Storage tags belonging to your team. - *
 - [POST /cloudstorage/file/tag/query](https://guide.morelogin.com/api-reference/cloud-storage/open-api/cloud-storage-file-tags/querycloudstoragefiletags.md): Return the tags attached to one or more Cloud Storage files. - **Preconditions**: every `fileId` must resolve within your team; **one unknown id fails the whole call** rather than returning partial da
 - [GET /cloudstorage/tag/all](https://guide.morelogin.com/api-reference/cloud-storage/open-api/cloud-storage-file-tags/queryallcloudstoragefiletags.md): Return every Cloud Storage file tag in the team. - **Effect**: none. Read-only. Safe to retry with bounded backoff. - **Note**: not paginated, and Cloud Storage tags have no server-side count limit, s
 - [POST /cloudstorage/tag/create](https://guide.morelogin.com/api-reference/cloud-storage/open-api/cloud-storage-file-tags/createcloudstoragefiletag.md): Create a Cloud Storage file tag. - **Preconditions**: `tagName` must not be blank. - **Effect**: creates the tag with a colour picked from a fixed palette. **Names are not checked for duplicates and t
 - [POST /cloudstorage/tag/edit](https://guide.morelogin.com/api-reference/cloud-storage/open-api/cloud-storage-file-tags/editcloudstoragefiletag.md): Rename a Cloud Storage file tag. - **Preconditions**: the tag must exist in your team and be a Cloud Storage tag. - **Effect**: only the name changes; the colour and every existing assignment are kept
 - [POST /cloudstorage/tag/delete/batch](https://guide.morelogin.com/api-reference/cloud-storage/open-api/cloud-storage-file-tags/deletecloudstoragefiletags.md): Delete Cloud Storage file tags. - **Preconditions**: every id must be a Cloud Storage tag in your team; **one invalid id fails the whole batch**. - **Effect**: the tags are deleted but **their file as
