The created tag.
AuthenticationRequired if authentication is missing.
ApiError with status 400 if invalid tag data.
ApiError with status 401 if authentication is invalid.
ApiError with status 403 if insufficient permissions (role restriction configured by API administrator).
ApiError with status 409 if a tag with this name or slug already exists.
Delete a tag permanently.
Permanently removes a tag. Images that had this tag will no longer be associated with it.
Requires: Admin role.
The tag ID to delete.
AuthenticationRequired if authentication is missing.
ApiError with status 401 if authentication is invalid.
ApiError with status 403 if insufficient permissions.
ApiError with status 404 if tag not found.
List all tags with optional filtering.
Returns a paginated list of tags.
Use the name parameter to search by tag name.
By default, only approved tags are returned.
Optionalquery: ListTagsOptionsApiError with status 400 if invalid query parameters.
Update an existing tag.
Update a tag's name, description, slug, or review status.
Requires: Moderator role or higher.
The tag ID to update.
The updated tag.
AuthenticationRequired if authentication is missing.
ApiError with status 400 if invalid update data.
ApiError with status 401 if authentication is invalid.
ApiError with status 403 if insufficient permissions.
ApiError with status 404 if tag not found.
Create a new tag.
Creates a new tag for categorizing images. The tag will be created with "Pending" review status and must be approved by a moderator. If no slug is provided, one will be automatically generated from the name.