OBJECT

TagEntity

Label that users attach to records such as accounts, contacts or opportunities to categorize them.

link GraphQL Schema definition

  • type TagEntity {
  • # True when the record is protected against deletion because it must always exist
  • # in the space. Deleting a record that is not protected can still fail on other
  • # checks. Read-only.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # User who created the tag.
  • creator: ClientEntity
  • # For tags scoped to specific record types (e.g. specific Account types), the list
  • # of type ids the tag can be assigned to. Empty/null means no per-type
  • # restriction.
  • allowedEntityTypeIds: [UUID]
  • # Display color of the tag, encoded as a 24-bit RGB integer: (red << 16) | (green
  • # << 8) | blue.
  • color: Int!
  • # Id of the creating user.
  • creatorId: ID
  • # For tags scoped to custom entities, the api name of the custom entity the tag
  • # belongs to. Required for custom-entity tags and must be empty for all other
  • # tags.
  • entityApiName: String
  • # When false, the tag is hidden in pickers and cannot be assigned to new records.
  • isEnabled: Boolean
  • # Name of the entity and its default text representation.
  • name: String!
  • # Bit flags of the entities the tag can be attached to, added together: Contact 1,
  • # Account 2, Opportunity 4, Lead 8, Project 16, Email 32, Process 64, Appointment
  • # 128, Task 256, Quote 512, CustomEntity 1024, Solution 2048.
  • supportedEntities: Int
  • # When true, the tag name is treated as a translation key and localized in the UI;
  • # otherwise the literal name is shown.
  • useLang: Boolean
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Permissions the current user has on this record, out of the requested ones.
  • #
  • # Arguments
  • # permissions: Permissions to check; the result lists those the
  • # current user has.
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }