kustomer-client
    Preparing search index...

    Function redactMessage

    • Redact a message Redacts a message.

      Any one of the following roles is required for this endpoint:

      Legacy Role Equivalent Permission Set Role
      org.admin.message.write org.permission.message_redaction.create

      Type Parameters

      • ThrowOnError extends boolean = true

      Returns RequestResult<
          {
              data: {
                  attributes: { meta?: string; preview: string };
                  id: string;
                  relationships: {
                      attachments?: {
                          data?: { id: string; type: string };
                          links?: { self: string };
                      }[];
                      conversation?: {
                          data: { id: string; type: string };
                          links: { self: string };
                      };
                      createdBy?: {
                          data: { id: string; type: string };
                          links: { self: string };
                      };
                      customer?: {
                          data: { id: string; type: string };
                          links: { self: string };
                      };
                      message?: {
                          data: { id: string; type: string };
                          links: { self: string };
                      };
                      org: { data: { id: string; type: string }; links: { self: string } };
                  };
                  type: string;
              };
          },
          unknown,
          ThrowOnError,
      >